Documentation for the Co-op Cloud project https://docs.coopcloud.tech
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
1.1 KiB

---
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
command: serve -a 0.0.0.0:8000 --no-livereload
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