Fixed docker-compose.yml for CI
This commit is contained in:
@@ -16,16 +16,12 @@ services:
|
|||||||
ACME_EMAIL: ${ACME_EMAIL:?set ACME_EMAIL in .env}
|
ACME_EMAIL: ${ACME_EMAIL:?set ACME_EMAIL in .env}
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "80:80" # required: the ACME HTTP challenge and the HTTPS redirect
|
- ${LISTEN_IP:?0.0.0.0}:80:80 # required: the ACME HTTP challenge and the HTTPS redirect
|
||||||
- "443:443"
|
- ${LISTEN_IP:?0.0.0.0}:443:443
|
||||||
- "443:443/udp" # HTTP/3
|
- ${LISTEN_IP:?0.0.0.0}:443:443/udp # HTTP/3
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
# Certificates live here. Without this volume Caddy re-issues on every
|
# 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.
|
# 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
|
||||||
|
|
||||||
volumes:
|
|
||||||
caddy_data:
|
|
||||||
caddy_config:
|
|
||||||
Reference in New Issue
Block a user