Files
home-server-docker/project/service/stirling-pdf/stirling-pdf.yml
2024-08-11 16:49:10 +02:00

26 lines
963 B
YAML

services:
stirling-pdf:
extends:
file: ${TEMPLATES_PATH}
service: default
image: frooodle/s-pdf:latest
container_name: stirling-pdf
ports:
- '4003:8080'
networks:
- ip6net
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.${PUBLIC_DOMAIN}`)"
- "traefik.http.routers.stirling-pdf.entrypoints=https"
- "traefik.http.routers.stirling-pdf.tls.certresolver=myresolver"
- "traefik.http.routers.stirling-pdf.tls=true"
# Middlewares
- "traefik.http.routers.stirling-pdf.middlewares=crowdsec-bouncer@file, authelia@file"