DEV Community


Discussion on: [question/help] How can one use docker-compose to install packages from a requirements file when one is behind a private repo?

jefftriplett profile image
Jeff Triplett (he/him)

For Bitbucket you do need an access token. I recommend that you create a bot user and generate an access token for it using one of the following formats:

  • Tarball URL will be https://<botusername>:<access_token><myorg>/<myproject>/get/<ref>.zip
  • VCS Tarball will be git+https://<botusername>:<access_token><myorg>/<myproject>.git@<ref>

One of my colleagues wrote a pretty thorough article about various options: