add stirling pdf
This commit is contained in:
21
project/service/stirling-pdf/stirling-pdf.yml
Normal file
21
project/service/stirling-pdf/stirling-pdf.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user