27 lines
746 B
YAML
27 lines
746 B
YAML
|
---
|
||
|
version: "3.8"
|
||
|
services:
|
||
|
app:
|
||
|
image: "decentral1se/lumbung.space: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.services.lumbung_splash.loadbalancer.server.port=8000"
|
||
|
- "traefik.http.routers.lumbung_splash.rule=Host(`lumbung.space`)"
|
||
|
- "traefik.http.routers.lumbung_splash.entrypoints=web-secure"
|
||
|
- "traefik.http.routers.lumbung_splash.tls.certresolver=production"
|
||
|
networks:
|
||
|
proxy:
|
||
|
external: true
|