Files

33 lines
923 B
YAML

---
services:
app:
image: codeberg.org/git-pages/git-pages:0.10.1
networks:
- proxy
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=3000"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=1.0.0+0.10.1"
environment:
- PAGES_SERVER_METRICS=tcp/localhost:3002
volumes:
- "data:/app/data"
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:3002 || exit 1
interval: 10s
timeout: 5s
retries: 10
start_period: 10s
networks:
proxy:
external: true
volumes:
data: