Skip to content

Commit 5e2c152

Browse files
Spomkymaxhelias
authored andcommitted
Add port to the Mercure Public URL
1 parent 5a97367 commit 5e2c152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
DATABASE_URL: postgresql://${POSTGRES_USER:-app}:${POSTGRES_PASSWORD:-!ChangeMe!}@database:5432/${POSTGRES_DB:-app}?serverVersion=${POSTGRES_VERSION:-15}&charset=${POSTGRES_CHARSET:-utf8}
1111
# Run "composer require symfony/mercure-bundle" to install and configure the Mercure integration
1212
MERCURE_URL: ${CADDY_MERCURE_URL:-http://php/.well-known/mercure}
13-
MERCURE_PUBLIC_URL: ${CADDY_MERCURE_PUBLIC_URL:-https://${SERVER_NAME:-localhost}/.well-known/mercure}
13+
MERCURE_PUBLIC_URL: ${CADDY_MERCURE_PUBLIC_URL:-https://${SERVER_NAME:-localhost}:${HTTPS_PORT:-443}/.well-known/mercure}
1414
MERCURE_JWT_SECRET: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!}
1515
# The two next lines can be removed after initial installation
1616
SYMFONY_VERSION: ${SYMFONY_VERSION:-}

0 commit comments

Comments
 (0)