feat: add stirling-pdf

This commit is contained in:
Viren070
2025-07-14 19:18:06 +01:00
parent d4c8ba82a2
commit fca9bb2b7e
5 changed files with 44 additions and 0 deletions
+1
View File
@@ -169,6 +169,7 @@ SONARR_HOSTNAME=sonarr.${DOMAIN}
SONARR4K_HOSTNAME=4k.sonarr.${DOMAIN}
SONARRANIME_HOSTNAME=anime.sonarr.${DOMAIN}
SPEEDTEST_TRACKER_HOSTNAME=speedtest-tracker.${DOMAIN}
STIRLING_PDF_HOSTNAME=stirling.${DOMAIN}
STREAMYSTATS_HOSTNAME=streamystats.${DOMAIN}
STREMIO_ACCOUNT_BOOTSTRAPPER_HOSTNAME=stremio-account-bootstrapper.${DOMAIN?}
STREMIO_AI_SEARCH_HOSTNAME=ai-search.${DOMAIN?}
+1
View File
@@ -68,6 +68,7 @@ services:
${SONARR4K_HOSTNAME},
${SONARRANIME_HOSTNAME},
${SPEEDTEST_TRACKER_HOSTNAME},
${STIRLING_PDF_HOSTNAME},
${STREAMYSTATS_HOSTNAME},
${STREMIO_ACCOUNT_BOOTSTRAPPER_HOSTNAME},
${STREMIO_AI_SEARCH_HOSTNAME},
+5
View File
@@ -0,0 +1,5 @@
# Whether to enable Stirling's built-in user authentication system.
# Since we have authelia, its not required but you may enable it if you want.
ENABLE_LOGIN=false
# If you choose to enable login, set the initial password for the admin user here.
INITIAL_ADMIN_PASSWORD=admin
+36
View File
@@ -0,0 +1,36 @@
services:
stirling-pdf:
image: docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest
container_name: stirling-pdf
restart: unless-stopped
expose:
- 8080
environment:
DISABLE_ADDITIONAL_FEATURES: "false"
LANGS: "en_GB"
SECURITY_ENABLELOGIN: ${ENABLE_LOGIN:-false}
SECURITY_INITIALLOGIN_USERNAME: "admin"
SECURITY_INITIALLOGIN_PASSWORD: "${INITIAL_ADMIN_PASSWORD?}"
SYSTEM_ENABLEANALYTICS: "false"
labels:
- "traefik.enable=true"
- "traefik.http.routers.stirling-pdf.rule=Host(`${STIRLING_PDF_HOSTNAME?}`)"
- "traefik.http.routers.stirling-pdf.entrypoints=websecure"
- "traefik.http.routers.stirling-pdf.tls.certresolver=letsencrypt"
- "traefik.http.routers.stirling-pdf.middlewares=authelia@docker"
- "traefik.http.services.stirling-pdf.loadbalancer.server.port=8080"
volumes:
- ./configs:/configs
- ./files:/customFiles/
- ${DOCKER_DATA_DIR}/stirling-pdf/training-data:/usr/share/tessdata
- ${DOCKER_DATA_DIR}/stirling-pdf/logs:/logs/
- ${DOCKER_DATA_DIR}/stirling-pdf/pipeline:/pipeline/
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/api/v1/info/status"]
interval: 1m
timeout: 10s
retries: 3
start_period: 30s
profiles:
- stirling-pdf
- all
+1
View File
@@ -58,6 +58,7 @@ include:
- apps/sonarr/compose.yaml
- apps/speedtest-tracker/compose.yaml
- apps/sshbot/compose.yaml
- apps/stirling-pdf/compose.yaml
- apps/streamystats/compose.yaml
- apps/stremio-account-bootstrapper/compose.yaml
- apps/stremio-ai-search/compose.yaml