question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with 'docker-compose up'

See original GitHub issue

After doing: composer create-project api-platform/api-platform bookshop-api I try to do: docker-compose up And I get: ERROR: The Compose file './docker-compose.yaml' is invalid because: mysql.environment.MYSQL_ALLOW_EMPTY_PASSWORD contains true, which is an invalid type, it should be a string, number, or a null Using docker-compose v1.8.1. I am pretty new to docker-compose so I dont know how to fix this yet.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dunglascommented, Oct 20, 2016

Maybe it’s not clear enough in docs, but you must not use composer create-project directly if you want to use Docker. Download the zip and run docker-compose up OR use composer create-project.

0reactions
sh4kacommented, Oct 21, 2016

Pebcak.

Read more comments on GitHub >

github_iconTop Results From Across the Web

docker-compose up giving error - Stack Overflow
I had the same unhelpful error when I tried to run docker-compose on Windows from a project I created in Linux. If you...
Read more >
How to get detailed error message using docker-compose up ...
The error is occurring during the build process. You should see the same results when you run docker-compose build . This error:
Read more >
Docker compose up gives error - General Discussions
hi, i am pretty new in docker and docker compose. I write a web app, python flask. and I wanna dockerize it. but...
Read more >
Docker-compose up throwing error | Edureka Community
yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2"...
Read more >
Issues · docker/compose - GitHub
Issues list ; [BUG] docker compose config --output results an empty file because of the not flushed bufio writer · #10121 opened yesterday ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found