fix: use !ChangeThisMercureHubJWTSecretKey! as default JWT secret key (#295)
This commit is contained in:
parent
4a5b46f05e
commit
67c3a35795
@ -22,7 +22,7 @@ services:
|
|||||||
# Run "composer require symfony/mercure-bundle" to install and configure the Mercure integration
|
# Run "composer require symfony/mercure-bundle" to install and configure the Mercure integration
|
||||||
MERCURE_URL: ${CADDY_MERCURE_URL:-http://caddy/.well-known/mercure}
|
MERCURE_URL: ${CADDY_MERCURE_URL:-http://caddy/.well-known/mercure}
|
||||||
MERCURE_PUBLIC_URL: https://${SERVER_NAME:-localhost}/.well-known/mercure
|
MERCURE_PUBLIC_URL: https://${SERVER_NAME:-localhost}/.well-known/mercure
|
||||||
MERCURE_JWT_SECRET: ${CADDY_MERCURE_JWT_SECRET:-!ChangeMe!}
|
MERCURE_JWT_SECRET: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!}
|
||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
build:
|
build:
|
||||||
@ -32,8 +32,8 @@ services:
|
|||||||
- php
|
- php
|
||||||
environment:
|
environment:
|
||||||
SERVER_NAME: ${SERVER_NAME:-localhost, caddy:80}
|
SERVER_NAME: ${SERVER_NAME:-localhost, caddy:80}
|
||||||
MERCURE_PUBLISHER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET:-!ChangeMe!}
|
MERCURE_PUBLISHER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!}
|
||||||
MERCURE_SUBSCRIBER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET:-!ChangeMe!}
|
MERCURE_SUBSCRIBER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- php_socket:/var/run/php
|
- php_socket:/var/run/php
|
||||||
|
@ -65,7 +65,7 @@ Go into the directory containing your project (`<project-name>`), and start the
|
|||||||
```console
|
```console
|
||||||
SERVER_NAME=your-domain-name.example.com \
|
SERVER_NAME=your-domain-name.example.com \
|
||||||
APP_SECRET=ChangeMe \
|
APP_SECRET=ChangeMe \
|
||||||
CADDY_MERCURE_JWT_SECRET=ChangeMe \
|
CADDY_MERCURE_JWT_SECRET=ChangeThisMercureHubJWTSecretKey \
|
||||||
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
|
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ Alternatively, if you don't want to expose an HTTPS server but only an HTTP one,
|
|||||||
```console
|
```console
|
||||||
SERVER_NAME=:80 \
|
SERVER_NAME=:80 \
|
||||||
APP_SECRET=ChangeMe \
|
APP_SECRET=ChangeMe \
|
||||||
CADDY_MERCURE_JWT_SECRET=ChangeMe \
|
CADDY_MERCURE_JWT_SECRET=ChangeThisMercureHubJWTSecretKey \
|
||||||
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
|
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user