docs/compose.yml

30 lines
717 B
YAML
Raw Normal View History

2021-12-13 12:08:49 +01:00
---
version: "3.8"
services:
app:
2021-12-20 16:56:39 +01:00
image: yksflip/lit-docs:latest
2021-12-13 12:08:49 +01:00
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"
2021-12-20 17:31:52 +01:00
- "traefik.http.services.lit_docs.loadbalancer.server.port=8000"
2021-12-20 17:34:25 +01:00
- "traefik.http.routers.lit_docs.rule=Host(`docs.local-it.org`)"
2022-03-07 10:13:04 +01:00
- "traefik.http.routers.lit_docs.entrypoints=web-secure"
- "traefik.http.routers.lit_docs.tls.certresolver=production"
2021-12-13 12:08:49 +01:00
networks:
proxy:
external: true