mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
feat: add stirling-pdf
This commit is contained in:
@@ -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?}
|
||||
|
||||
@@ -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},
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user