stirling-pdf/docker-compose.yml
hcornet f58c057fee
Some checks failed
Deployment Verification / deploy-and-test (push) Failing after 40s
create repository
2024-11-25 19:16:15 +01:00

36 lines
1.2 KiB
YAML

#### NETWORKS
networks:
docker-traefik_front_network:
external: true
back_network_stirling:
driver: bridge
attachable: true
#### SERVICES
services:
### stirling-pdf
stirling-pdf:
container_name: stirling-pdf-app
hostname: stirling-pdf-app
image: frooodle/s-pdf:latest
networks:
- docker-traefik_front_network
volumes:
- ./trainingData:/usr/share/tesseract-ocr/4.00/tessdata
- ./extraConfigs:/configs
environment:
- DOCKER_ENABLE_SECURITY=false
labels:
- "traefik.enable=true"
- "traefik.docker.network=docker-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"
## HTTPS
- "traefik.http.routers.stirling-pdf-https.rule=Host(`stirling-pdf.tips-of-mine.com`)"
- "traefik.http.routers.stirling-pdf-https.entrypoints=https"
- "traefik.http.routers.stirling-pdf-https.tls=true"
- "traefik.http.routers.stirling-pdf.service=stirling-pdf-service"
## Middleware
## Service
- "traefik.http.services.stirling-pdf-service.loadbalancer.server.port=8080"