fix: prevent installing another Mercure hub (#181)

This commit is contained in:
Kévin Dunglas 2021-10-13 22:28:04 +02:00 committed by GitHub
parent 2e31a39382
commit 3d7f6c4ce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -17,3 +17,6 @@ services:
volumes:
- ./docker/caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- ./public:/srv/app/public:ro
###> symfony/mercure-bundle ###
###< symfony/mercure-bundle ###

View File

@ -54,7 +54,13 @@ services:
published: 443
protocol: udp
# Mercure is installed as a Caddy module, prevent the Flex recipe from installing another service
###> symfony/mercure-bundle ###
###< symfony/mercure-bundle ###
volumes:
php_socket:
caddy_data:
caddy_config:
###> symfony/mercure-bundle ###
###< symfony/mercure-bundle ###