Some settings

This commit is contained in:
Frank
2026-01-03 13:16:58 +01:00
parent 0d6628e7c9
commit af61a3b920
23 changed files with 616 additions and 23 deletions

View File

@@ -13,12 +13,13 @@ services:
APP_ENV: dev
depends_on:
- database
- mercure
networks:
- backend
restart: unless-stopped
nginx:
image: nginx:1.27-alpine
image: nginx:1.29.4-alpine
container_name: escapepage-nginx
ports:
- "8080:80"
@@ -40,6 +41,25 @@ services:
- backend
restart: unless-stopped
mercure:
image: dunglas/mercure:v0.21
container_name: escapepage-mercure
environment:
SERVER_NAME: ":80"
MERCURE_PUBLISHER_JWT_KEY: ${MERCURE_JWT_SECRET:-!ChangeThisMercureJWT!}
MERCURE_SUBSCRIBER_JWT_KEY: ${MERCURE_JWT_SECRET:-!ChangeThisMercureJWT!}
MERCURE_CORS_ALLOWED_ORIGINS: http://localhost:8080
MERCURE_PUBLISH_ALLOWED_ORIGINS: http://localhost:8080
MERCURE_EXTRA_DIRECTIVES: |
cors_origins http://localhost:8080
# Allow anonymous subscribers in dev only
anonymous
ports:
- "8090:80"
networks:
- backend
restart: unless-stopped
###> doctrine/doctrine-bundle ###
database:
image: mysql:8.0