cellarspoon
59dbf66fdf
All checks were successful
continuous-integration/drone/push Build is passing
33 lines
1.1 KiB
YAML
33 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
|
|
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
|