Replies: 3 comments
-
|
I got the same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It'd be great you share your evn details (in detail) please. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Same issue, using a private registry, but passing in the correct values. Was working. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hello, I have two problems with running verdaccio in docker behind a proxy.
npm adduseronly on the docker host or inside the container.npm publishon a client, the docker host nor inside the container.The problems are related to the proxy. On a proxy-free environment I get no errors.
The npm publish does not use the given proxy, even if I set them with export.
This works fine and goes through the proxy.
http_proxy=http://myproxy:8080 curl -v http://registry.npmjs.orgThis is my first bugreport. I provide additional information if I forgot something.
#1:
npm adduser --registry http://dockerhost:4873on a client gives me this errormessage:The errorlog contains this:
#2:
npm publish --registry http://dockerhost:4873on a client gives me this erroemessageThe errorlog contains this:
The errorlog contains this:
npm publish --registry http://localhost:4873inside the container gives me this:The errorlog contains this:
To Reproduce
docker-compose.ymlto run verdaccio but it even happens if I use just the docker commanddocker run -d --rm --name verdaccio -p 4873:4873 verdaccio/verdaccioRun
docker-compose upresult: error because the
config.yamlis missing.I copied the content of this file into /docker/verdaccio/config/config.yaml verdaccio docker.yaml and added these two lines: http_proxy: http://myproxy:8080 https_proxy: http://myproxy:8080
Run
docker-compose upResult:
npm adduser --registry http://dockerhost:4873is not running -> 503 error on a client, works only on the docker host and inside the containernpm publish --registry http://dockerhost:4873is not running -> 503 on a client, 503 uplink is down on the docker host and inside the containerI also used your baseimage node:14.15.4-alpine and got the same error. I used about 10 other versions of node and I got no error. so I could identify that the error only happens in the image node:14.15.4-alpine.
I also tried to
export https_proxyandexport http_proxywithout positiv result.Expected behavior
i expect to run verdaccio with all its features in our environment with a configured proxy. maybe you could change the baseimage.
Configuration File
~/.config/verdaccio/config.yaml/opt/verdaccio #
cat /verdaccio/conf/config.yamlEnvironment information
Additional Docker Log
Beta Was this translation helpful? Give feedback.
All reactions