Skip to content

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

Description

@ionparticle

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
        }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions