Mercure ssl
This commit is contained in:
@@ -100,7 +100,7 @@ services:
|
||||
image: dunglas/mercure:v0.21
|
||||
container_name: escapepage-mercure
|
||||
environment:
|
||||
SERVER_NAME: ":80"
|
||||
SERVER_NAME: "https://:443"
|
||||
MERCURE_PUBLISHER_JWT_KEY: ${MERCURE_JWT_SECRET}
|
||||
MERCURE_SUBSCRIBER_JWT_KEY: ${MERCURE_JWT_SECRET}
|
||||
MERCURE_CORS_ALLOWED_ORIGINS: ${MERCURE_CORS_ALLOWED_ORIGINS}
|
||||
@@ -110,9 +110,11 @@ services:
|
||||
publish_origins ${MERCURE_CORS_ALLOWED_ORIGINS}
|
||||
anonymous
|
||||
ports:
|
||||
- "8090:80"
|
||||
- "8090:443"
|
||||
volumes:
|
||||
- /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:
|
||||
backend:
|
||||
ipv4_address: 172.20.0.14
|
||||
|
||||
Reference in New Issue
Block a user