/verdaccio-heroku-docker-public-access

A private npm registry authenticated with github organization oauth

Primary LanguageDockerfile

verdaccio-heroku-docker

A containerized verdaccio public access npm registry configured with github oauth.

This is a fork of autotelic/verdaccio-heroku-docker that sets the default access level to $all instead of $authenticated.

This will show all packages to anybody.

Deployment

You can deploy to heroku with one click

Deploy

Once the app has been deployed, you will need to setup a github oauth app and add the necessary oauth credentials as heroku config vars.

Follow these instructions when creating the oauth app.

  • Add the following config vars to the heroku app. Either do this from the heroku dashboard or with the cli.
GITHUB_OAUTH_ORG
GITHUB_OAUTH_CLIENT_ID
GITHUB_OAUTH_CLIENT_SECRET

You should now be able to visit the heroku app and login with your github account by clicking the login button and going through the oauth flow.