coopcloud.tech/compose.yml
decentral1se c2a9b62409
All checks were successful
continuous-integration/drone/push Build is passing
Use new name here too
2021-06-17 21:08:42 +02:00

32 lines
1.1 KiB
YAML

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