File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,9 @@ services:
31
31
- php
32
32
environment :
33
33
SERVER_NAME : ${SERVER_NAME:-localhost, caddy:80}
34
- MERCURE_PUBLISHER_JWT_KEY : ${MERCURE_PUBLISHER_JWT_KEY:-!ChangeMe!}
35
- MERCURE_SUBSCRIBER_JWT_KEY : ${MERCURE_SUBSCRIBER_JWT_KEY:-!ChangeMe!}
34
+ MERCURE_URL : ${MERCURE_URL:-http://caddy/.well-known/mercure}
35
+ MERCURE_PUBLIC_URL : ${MERCURE_PUBLIC_URL:-https://localhost/.well-known/mercure}
36
+ MERCURE_JWT_SECRET : ${MERCURE_JWT_SECRET:-!ChangeMe!}
36
37
restart : unless-stopped
37
38
volumes :
38
39
- php_socket:/var/run/php
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ route {
19
19
# Transport to use (default to Bolt)
20
20
transport_url {$MERCURE_TRANSPORT_URL:bolt:///data/mercure.db }
21
21
# Publisher JWT key
22
- publisher_jwt {env.MERCURE_PUBLISHER_JWT_KEY } {env.MERCURE_PUBLISHER_JWT_ALG }
22
+ publisher_jwt {env.MERCURE_JWT_SECRET } {env.MERCURE_JWT_ALG }
23
23
# Subscriber JWT key
24
- subscriber_jwt {env.MERCURE_SUBSCRIBER_JWT_KEY } {env.MERCURE_SUBSCRIBER_JWT_ALG }
24
+ subscriber_jwt {env.MERCURE_JWT_SECRET } {env.MERCURE_JWT_ALG }
25
25
# Allow anonymous subscribers (double-check that it's what you want)
26
26
anonymous
27
27
# Enable the subscription API (double-check that it's what you want)
You can’t perform that action at this time.
0 commit comments