By default, composer pulls from github using the github API, which is rate limited.
Composer is called every time docker-compose brings the container up, so we reach the limit rather quickly with enough restarts. The container will fail to start because the github API starts requiring authentication.
To fix, need to tell composer not to use the API in composer.json:
Alternatively, adding the --prefer-dist and --no-interaction flags to composer might be sufficient (I didn't test it, but saw some posts mentioning them).
By default, composer pulls from github using the github API, which is rate limited.
Composer is called every time docker-compose brings the container up, so we reach the limit rather quickly with enough restarts. The container will fail to start because the github API starts requiring authentication.
To fix, need to tell composer not to use the API in composer.json: