From b7693bd9d03a86f2defa0b573a2cdd919f5b7e4e Mon Sep 17 00:00:00 2001 From: Frank Date: Sat, 4 Jul 2026 15:43:03 +0200 Subject: [PATCH] Remove quotes around MERCURE_CORS_ALLOWED_ORIGINS in docker/.env.dist docker/.env feeds MERCURE_EXTRA_DIRECTIVES, a Caddyfile-style config block, via Compose variable substitution. Quoting a space-separated value there makes Caddy treat both origins as one single malformed token rather than two arguments, which crash-loops the Mercure container on startup. Compose's .env parsing for values with spaces doesn't require quotes (unlike Symfony's Dotenv), so drop them. Co-Authored-By: Claude Sonnet 5 --- docker/.env.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/.env.dist b/docker/.env.dist index f7a64dd..44590db 100644 --- a/docker/.env.dist +++ b/docker/.env.dist @@ -23,7 +23,7 @@ MYSQL_ROOT_PASSWORD=CHANGEME_MYSQL_ROOT_PASSWORD MERCURE_URL=http://mercure/.well-known/mercure MERCURE_PUBLIC_URL=https://mercure.escapepage.com/.well-known/mercure MERCURE_JWT_SECRET=CHANGEME_MERCURE_JWT_SECRET -MERCURE_CORS_ALLOWED_ORIGINS="https://www.escapepage.com https://escapepage.com" +MERCURE_CORS_ALLOWED_ORIGINS=https://www.escapepage.com https://escapepage.com MERCURE_TOPIC_BASE=https://escapepage.com # Recaptcha