changes for ssl
This commit is contained in:
@@ -65,7 +65,7 @@ MAILER_FROM=mailer@escapepage.nl
|
|||||||
|
|
||||||
###> mercure ###
|
###> mercure ###
|
||||||
# Internal hub URL used by the PHP app (reachable from the php container)
|
# Internal hub URL used by the PHP app (reachable from the php container)
|
||||||
MERCURE_URL=https://mercure/.well-known/mercure
|
MERCURE_URL=http://mercure/.well-known/mercure
|
||||||
# Public hub URL used by browsers
|
# Public hub URL used by browsers
|
||||||
MERCURE_PUBLIC_URL=https://mercure.escapepage.com/.well-known/mercure
|
MERCURE_PUBLIC_URL=https://mercure.escapepage.com/.well-known/mercure
|
||||||
# Shared secret for signing JWTs (dev only). In prod, set via real env/secrets.
|
# Shared secret for signing JWTs (dev only). In prod, set via real env/secrets.
|
||||||
|
|||||||
+2
-4
@@ -100,7 +100,7 @@ services:
|
|||||||
image: dunglas/mercure:v0.21
|
image: dunglas/mercure:v0.21
|
||||||
container_name: escapepage-mercure
|
container_name: escapepage-mercure
|
||||||
environment:
|
environment:
|
||||||
SERVER_NAME: "https://:443"
|
SERVER_NAME: "http://:80"
|
||||||
MERCURE_PUBLISHER_JWT_KEY: ${MERCURE_JWT_SECRET}
|
MERCURE_PUBLISHER_JWT_KEY: ${MERCURE_JWT_SECRET}
|
||||||
MERCURE_SUBSCRIBER_JWT_KEY: ${MERCURE_JWT_SECRET}
|
MERCURE_SUBSCRIBER_JWT_KEY: ${MERCURE_JWT_SECRET}
|
||||||
MERCURE_CORS_ALLOWED_ORIGINS: ${MERCURE_CORS_ALLOWED_ORIGINS}
|
MERCURE_CORS_ALLOWED_ORIGINS: ${MERCURE_CORS_ALLOWED_ORIGINS}
|
||||||
@@ -110,11 +110,9 @@ services:
|
|||||||
publish_origins ${MERCURE_CORS_ALLOWED_ORIGINS}
|
publish_origins ${MERCURE_CORS_ALLOWED_ORIGINS}
|
||||||
anonymous
|
anonymous
|
||||||
ports:
|
ports:
|
||||||
- "8090:443"
|
- "8090:80"
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/hosts:/etc/hosts:ro
|
- /etc/hosts:/etc/hosts:ro
|
||||||
- ./nginx/ssl/server.crt:/etc/caddy/certs/server.crt:ro
|
|
||||||
- ./nginx/ssl/server.key:/etc/caddy/certs/server.key:ro
|
|
||||||
# networks:
|
# networks:
|
||||||
# backend:
|
# backend:
|
||||||
# ipv4_address: 172.23.0.14
|
# ipv4_address: 172.23.0.14
|
||||||
|
|||||||
Reference in New Issue
Block a user