walkaway-wiki/compose.yml

29 lines
710 B
YAML
Raw Normal View History

2020-06-25 13:38:57 +00:00
---
version: "3.8"
services:
2020-06-25 13:41:05 +00:00
wiki:
2020-06-25 13:38:57 +00:00
image: "decentral1se/kawaiipunk.xyz:v0.1.0"
networks:
- proxy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
interval: 10s
timeout: 10s
retries: 10
start_period: 5s
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
2020-06-25 13:44:32 +00:00
- "traefik.http.services.wiki.loadbalancer.server.port=8000"
- "traefik.http.routers.wiki.rule=Host(`kawaiipunk.xyz`)"
- "traefik.http.routers.wiki.entrypoints=web-secure"
- "traefik.http.routers.wiki.tls.certresolver=production"
2020-06-25 13:38:57 +00:00
networks:
proxy:
external: true