Files
home-server-docker/project/service/stirling-pdf/stirling-pdf.yml
2024-02-15 18:31:34 +01:00

21 lines
748 B
YAML

services:
stirling-pdf:
extends:
file: ${TEMPLATES_PATH}
service: default
image: frooodle/s-pdf:latest
container_name: stirling-pdf
ports:
- '4003:8080'
volumes:
- ${SERVICE_PATH}/stirling-pdf/data:/usr/share/tesseract-ocr/4.00/tessdata #Required for extra OCR languages
- ${SERVICE_PATH}/stirling-pdf/config:/configs
# - /location/of/customFiles:/customFiles/
labels:
# Watchtower
- "com.centurylinklabs.watchtower.enable=true"
# Traefik
- "traefik.enable=true"
- "traefik.http.routers.stirling-pdf.rule=Host(`stirling-pdf.${LOCAL_DOMAIN}`)"
- "traefik.http.routers.stirling-pdf.entrypoints=https"
- "traefik.http.routers.stirling-pdf.tls=true"