symfony / recipes

Symfony Recipes Repository
https://github.com/symfony/recipes/blob/flex/main/RECIPES.md
MIT License
959 stars 476 forks source link

mercure_1 | Error: reading config from file: open /etc/caddy/Caddyfile.dev: no such file or directory #1327

Closed genesis59 closed 1 month ago

genesis59 commented 1 month ago

Hello, I have found an error in the Mercury Bundle recipe for Symfony. Here are the details:

Error Description

When I run the command docker-compose up, I get the following error: mercure_1 | Error: reading config from file: open /etc/caddy/Caddyfile.dev: no such file or directory

Proposed Fix

Update the Docker configuration as follows:

### replace this line
 command: /usr/bin/caddy run --config /etc/caddy/Caddyfile.dev
### by
 command: /usr/bin/caddy run --config /etc/caddy/Caddyfile

Thank you for your attention and for all the work you do!