docs/compose.yml
Philipp Rothmann 34bcf32017 use tls
2022-03-07 10:45:13 +01:00

29 lines
717 B
YAML

---
version: "3.8"
services:
app:
image: yksflip/lit-docs:latest
networks:
- proxy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
interval: 10s
timeout: 10s
retries: 10
start_period: 15s
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.services.lit_docs.loadbalancer.server.port=8000"
- "traefik.http.routers.lit_docs.rule=Host(`docs.local-it.org`)"
- "traefik.http.routers.lit_docs.entrypoints=web-secure"
- "traefik.http.routers.lit_docs.tls.certresolver=production"
networks:
proxy:
external: true