Update docker compose configuration

- Docker compose file format is now "compose.yml"
- "version" field is deprecated
- mercure docker runs without the command line (it actually was not working anymore)
This commit is contained in:
Maxime Veber
2024-10-27 18:40:41 +01:00
parent 2be2df49fb
commit 6073e6d55f
2 changed files with 0 additions and 6 deletions

View File

@@ -1,5 +1,3 @@
version: '3'
services:
###> symfony/mercure-bundle ###
mercure:

View File

@@ -1,5 +1,3 @@
version: '3'
services:
###> symfony/mercure-bundle ###
mercure:
@@ -12,8 +10,6 @@ services:
# Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive
MERCURE_EXTRA_DIRECTIVES: |
cors_origins https://127.0.0.1:9044
# Comment the following line to disable the development mode
command: /usr/bin/caddy run --config /etc/caddy/Caddyfile.dev
volumes:
- mercure_data:/data
- mercure_config:/config