Compare commits

...

1 commit

Author SHA1 Message Date
7949400c17 Stirling PDF under Tools 2024-10-02 16:00:58 +02:00

28
tools/docker-compose.yml Normal file
View file

@ -0,0 +1,28 @@
services:
stirling-pdf:
image: frooodle/s-pdf:latest
# ports:
# - '8080:8080'
networks:
- web
volumes:
- ${VOLUMES_PATH}/tools/stirling-pdf/trainingData:/usr/share/tesseract-ocr/5/tessdata #Required for extra OCR languages
- ${VOLUMES_PATH}/tools/stirling-pdf/extraConfigs:/configs
# - ${VOLUMES_PATH}/tools/stirling-pdf/customFiles:/customFiles/
# - ${VOLUMES_PATH}/tools/stirling-pdf/logs:/logs/
environment:
- DOCKER_ENABLE_SECURITY=false
labels:
- "traefik.enable=true"
- "traefik.http.routers.pdf.rule=Host(`pdf.${DOMAIN}`)"
- "traefik.http.routers.pdf.entrypoints=web"
- "traefik.http.services.pdf.loadbalancer.server.port=8080"
- "traefik.docker.network=web"
- "docker.group=tools"
networks:
paperless:
web:
external: true