28 lines
843 B
YAML
28 lines
843 B
YAML
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
|
|
|