Fixed docker-compose.yml for CI
All checks were successful
Tests et déploiement / validate (push) Successful in 39s
Tests et déploiement / deploy (push) Successful in 27s

This commit is contained in:
2026-10-04 22:02:07 +02:00
parent 4edc3f2fc1
commit 5862218b34

View File

@@ -7,21 +7,15 @@ services:
restart: unless-stopped restart: unless-stopped
environment: environment:
# Your domain, e.g. timelog.example.com — Caddy fetches a certificate for it.
# Set to :80 instead if you terminate TLS on an upstream reverse proxy.
SITE_ADDRESS: ${SITE_ADDRESS:?set SITE_ADDRESS in .env} SITE_ADDRESS: ${SITE_ADDRESS:?set SITE_ADDRESS in .env}
# Used by Let's Encrypt for expiry warnings. Required: Caddy fails to parse
# its config with an empty value, so this is checked here rather than
# crash-looping the container.
ACME_EMAIL: ${ACME_EMAIL:?set ACME_EMAIL in .env} ACME_EMAIL: ${ACME_EMAIL:?set ACME_EMAIL in .env}
TRUST_PROXY: ${TRUST_PROXY:?set TRUST_PROXY in .env}
ports: ports:
- ${LISTEN_IP:?0.0.0.0}:80:80 # required: the ACME HTTP challenge and the HTTPS redirect - ${LISTEN_IP:?0.0.0.0}:80:80
- ${LISTEN_IP:?0.0.0.0}:443:443 - ${LISTEN_IP:?0.0.0.0}:443:443
- ${LISTEN_IP:?0.0.0.0}:443:443/udp # HTTP/3 - ${LISTEN_IP:?0.0.0.0}:443:443/udp
volumes: volumes:
# Certificates live here. Without this volume Caddy re-issues on every
# recreate and will hit the Let's Encrypt rate limit within a few restarts.
- ./caddy/data:/data - ./caddy/data:/data
- ./caddy/config:/config - ./caddy/config:/config