-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renaming of docker-compose.yaml in compose.yaml : postgresql does'nt work anymore #1001
Comments
What does |
Hello Nicolas, and docker compose version return |
Can you paste your |
Hello Kevin,
and the override
As soon as I rename it in docker-compose.yaml, my postgre container works well :-) |
I encountered the same database issue with symfony-cli local dev server. The cause was pretty clear when running ERROR: unable to find a docker-compose.yaml or docker-compose.yml for the current directory
ERROR: unable to find a compose directory for the current directory Renaming the files fixed the issue. |
Ok I think I got it, support for the new compose file convention probably needs to be added somewhere in Symfony CLI. |
@dunglas Sometimes like this? symfony-cli/symfony-cli#364 |
Symfony CLI v5.6.2 has been released with the fix. |
Hello,
My issue comes appears after that commit 46bebc3
where docker.compose.yaml has been renamed in compose.yaml
Since yesterday, when I install a new symfony project with --webapp, and then run a docker compose up, my postgresql container is created BUT when I try to use it (via a make:migration or a d:d:c in example) it crashed with this message
After long search, I have finally found that if I rename the file compose.yaml with former name docker-compose.yaml, it works well.
Maybe the problem comes from my docker compose configuration ? Do you have any idea?
Many thanks for your help
The text was updated successfully, but these errors were encountered: