Skip to content
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

docker-compose issue, composer fails due to github API being rate limited #2

Open
ionparticle opened this issue Feb 25, 2020 · 2 comments

Comments

@ionparticle
Copy link

ionparticle commented Feb 25, 2020

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:

        {
            "type": "vcs",
            "url": "https://github.com/IMSGlobal/lti-1-3-php-library",
            "no-api": true
        }
@ionparticle
Copy link
Author

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).

@doldsimo
Copy link

@ionparticle Thank you, wokred for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants