update
All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 11s

This commit is contained in:
Hubert Cornet 2024-11-25 19:22:02 +01:00
parent f58c057fee
commit dc99e4b1f4

View File

@ -1,6 +1,6 @@
#### NETWORKS
networks:
docker-traefik_front_network:
traefik_front_network:
external: true
back_network_stirling:
driver: bridge
@ -10,19 +10,35 @@ networks:
services:
### stirling-pdf
stirling-pdf:
container_name: stirling-pdf-app
hostname: stirling-pdf-app
image: frooodle/s-pdf:latest
container_name: stirling-pdf
hostname: stirling-pdf
image: stirlingtools/stirling-pdf:latest
networks:
- docker-traefik_front_network
- traefik_front_network
volumes:
- ./trainingData:/usr/share/tesseract-ocr/4.00/tessdata
- ./extraConfigs:/configs
- ./data:/usr/share/tessdata:rw
- ./config:/configs:rw
- ./logs:/logs:rw
environment:
- DOCKER_ENABLE_SECURITY=false
- SECURITY_ENABLELOGIN=false
- LANGS=en_GB,en_US,ar_AR,de_DE,fr_FR,es_ES,zh_CN,zh_TW,ca_CA,it_IT,sv_SE,pl_PL,ro_RO,ko_KR,pt_BR,ru_RU,el_GR,hi_IN,hu_HU,tr_TR,id_ID
- SYSTEM_DEFAULTLOCALE=en-US
- UI_APPNAME=Stirling-PDF
- UI_HOMEDESCRIPTION=Demo site for Stirling-PDF Latest
- UI_APPNAMENAVBAR=Stirling-PDF Latest
- SYSTEM_MAXFILESIZE=100
- METRICS_ENABLED=true
- SYSTEM_GOOGLEVISIBILITY=true
restart: on-failure:5
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080/api/v1/info/status | grep -q 'UP' && curl -fL http://localhost:8080/ | grep -qv 'Please sign in'"]
interval: 5s
timeout: 10s
retries: 16
labels:
- "traefik.enable=true"
- "traefik.docker.network=docker-traefik_front_network"
- "traefik.docker.network=traefik_front_network"
## HTTP
- "traefik.http.routers.stirling-pdf-http.rule=Host(`stirling-pdf.tips-of-mine.com`)"
- "traefik.http.routers.stirling-pdf-http.entrypoints=http"