diff --git a/.env b/.env index 0a5b6f3..ce55278 100644 --- a/.env +++ b/.env @@ -65,7 +65,7 @@ MAILER_FROM=mailer@escapepage.nl ###> mercure ### # 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 MERCURE_PUBLIC_URL=https://mercure.escapepage.com/.well-known/mercure # Shared secret for signing JWTs (dev only). In prod, set via real env/secrets. diff --git a/docker/compose.yaml b/docker/compose.yaml index e602031..50edfd0 100644 --- a/docker/compose.yaml +++ b/docker/compose.yaml @@ -100,7 +100,7 @@ services: image: dunglas/mercure:v0.21 container_name: escapepage-mercure environment: - SERVER_NAME: "https://:443" + SERVER_NAME: "http://:80" MERCURE_PUBLISHER_JWT_KEY: ${MERCURE_JWT_SECRET} MERCURE_SUBSCRIBER_JWT_KEY: ${MERCURE_JWT_SECRET} MERCURE_CORS_ALLOWED_ORIGINS: ${MERCURE_CORS_ALLOWED_ORIGINS} @@ -110,11 +110,9 @@ services: publish_origins ${MERCURE_CORS_ALLOWED_ORIGINS} anonymous ports: - - "8090:443" + - "8090:80" 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.23.0.14