27 lines
1.0 KiB
YAML
27 lines
1.0 KiB
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"
|
|
- "traefik.http.routers.stirling-pdf.middlewares=authelia@file" |