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

npmrc/auth #2

Open
travis-icorein opened this issue Feb 20, 2022 · 2 comments
Open

npmrc/auth #2

travis-icorein opened this issue Feb 20, 2022 · 2 comments

Comments

@travis-icorein
Copy link

Is there a way to provide/map in an npmrc file for our upstream private repositories when using the Docker route? The functionality addressed by npm login and the npmrc auth settings. I see I am able to set my default UPSTREAM_ADDRESS via the env variable (I am using docker compose, to stand up the redis instance too). Ideally I could supply the username, _password, and _auth parameters per specified registry (avoiding the default npmjs registry altogether).

@rosscdh
Copy link

rosscdh commented Mar 15, 2023

Great question..

@serisman
Copy link

I've added support for passing an auth token to the upstream (private) registry in this fork: https://github.com/wonderlic/npm-cache-proxy
Seems to work fine with Verdaccio on the other end.

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

3 participants