diff --git a/ci/prod/compose/frontend.yml b/ci/prod/compose/frontend.yml index ef0c0d7a..938c3f01 100644 --- a/ci/prod/compose/frontend.yml +++ b/ci/prod/compose/frontend.yml @@ -5,6 +5,10 @@ x-common-env: &common-env - ../env/.env.runtime - ../env/.env.version +volumes: + caddy_data: {} + caddy_config: {} + networks: sendico-net: external: true @@ -30,6 +34,9 @@ services: ports: - "0.0.0.0:${FRONTEND_HTTP_PORT}:80" - "0.0.0.0:${FRONTEND_HTTPS_PORT}:443" + volumes: + - caddy_data:/data + - caddy_config:/config healthcheck: test: ["CMD", "curl", "-f", "http://localhost:2019/config"] interval: 30s diff --git a/frontend/pweb/caddy/Caddyfile b/frontend/pweb/caddy/Caddyfile index 9ea9bdd5..c1fc8759 100644 --- a/frontend/pweb/caddy/Caddyfile +++ b/frontend/pweb/caddy/Caddyfile @@ -3,6 +3,7 @@ ######################################## { email {$CADDY_ACME_EMAIL} + acme_ca https://acme.zerossl.com/v2/DV90 # debug }