31 lines
820 B
YAML
31 lines
820 B
YAML
---
|
|
version: "3.8"
|
|
services:
|
|
app:
|
|
image: decentral1se/beta.lumbung.space:latest
|
|
networks:
|
|
- proxy
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:1313"]
|
|
interval: 10s
|
|
timeout: 10s
|
|
retries: 10
|
|
start_period: 15s
|
|
volumes:
|
|
- content:/src/content
|
|
deploy:
|
|
update_config:
|
|
failure_action: rollback
|
|
order: start-first
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.coop-cloud-site.rule=Host(`beta.lumbung.space`)"
|
|
- "traefik.http.routers.coop-cloud-site.entrypoints=web-secure"
|
|
- "traefik.http.services.coop-cloud-site.loadbalancer.server.port=1313"
|
|
- "traefik.http.routers.coop-cloud-site.tls.certresolver=production"
|
|
volumes:
|
|
content:
|
|
networks:
|
|
proxy:
|
|
external: true
|