docs.coopcloud.tech/compose.yml
decentral1se 445af4c819
All checks were successful
continuous-integration/drone/push Build is passing
fix: remove missing domains
We were getting rate limited.
2021-10-07 12:40:14 +02:00

32 lines
1.1 KiB
YAML

---
version: "3.8"
services:
app:
image: thecoopcloud/docs.coopcloud.tech: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.coopcloud.tech`, `docs.cloud.autonomic.zone`)"
- "traefik.http.routers.coop-cloud-mkdocs.entrypoints=web-secure"
- "traefik.http.routers.coop-cloud-mkdocs.tls.certresolver=production"
- "traefik.http.routers.coop-cloud-mkdocs.middlewares=coop-cloud-mkdocs-redirect"
- "traefik.http.middlewares.coop-cloud-mkdocs-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.coop-cloud-mkdocs-redirect.headers.SSLHost=docs.coopcloud.tech"
networks:
proxy:
external: true