docs/docker-compose.yml
Philipp Rothmann 86b21ebf4b init
2021-12-13 12:08:49 +01:00

28 lines
655 B
YAML

---
version: "3.8"
services:
app:
image: test: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.coop-cloud-mkdocs.loadbalancer.server.port=8000"
- "traefik.http.routers.coop-cloud-mkdocs.rule=Host(`docs.local-it.org`)"
- "traefik.http.routers.coop-cloud-mkdocs.entrypoints=web"
networks:
proxy:
external: true