diff --git a/project/service/stirling-pdf/stirling-pdf.yml b/project/service/stirling-pdf/stirling-pdf.yml new file mode 100644 index 0000000..0ece100 --- /dev/null +++ b/project/service/stirling-pdf/stirling-pdf.yml @@ -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" \ No newline at end of file