changes for ssl

This commit is contained in:
Frank van den Berg
2026-06-27 12:07:06 +02:00
parent 3b1d3a5aad
commit 9205db6611
+2 -4
View File
@@ -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