Mercure ssl

This commit is contained in:
Frank
2026-01-17 22:56:34 +01:00
parent 891c1b4ecb
commit 576d86f602

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: ":80" SERVER_NAME: "https://:443"
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,9 +110,11 @@ services:
publish_origins ${MERCURE_CORS_ALLOWED_ORIGINS} publish_origins ${MERCURE_CORS_ALLOWED_ORIGINS}
anonymous anonymous
ports: ports:
- "8090:80" - "8090:443"
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.20.0.14 ipv4_address: 172.20.0.14