Compare commits
1 commit
main
...
stirling-p
Author | SHA1 | Date | |
---|---|---|---|
7949400c17 |
1 changed files with 28 additions and 0 deletions
28
tools/docker-compose.yml
Normal file
28
tools/docker-compose.yml
Normal 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
|
||||
|
Loading…
Reference in a new issue