Unable to create user verdaccio docker image
See original GitHub issueHere is my docker-compse entry -
verdaccio:
  container_name: kode
  image: verdaccio/verdaccio:latest
  environment:
  - PGID=${PGID}
  - PUID=${PUID}
  - TZ=${TZ}
  restart: unless-stopped
  ports:
   - "4873:4873"
  volumes:
   - ${DOCKERCONFDIR}/verdaccio/conf:/verdaccio/conf
   - ${DOCKERCONFDIR}/verdaccio/storage:/verdaccio/storage
   - ${DOCKERCONFDIR}/verdaccio/plugins:/verdaccio/plugins
And I am reverse proxying the container using apache
ProxyPreserveHost On
 ProxyPass / http://0.0.0.0:4873/
 ProxyPassReverse / http://0.0.0.0:4873/
 ServerName myurl.com
 ServerAlias www.myurl.com
I can access the webui via ‘myurl.com’ and all seems well, and I can see the config.yaml file in my local conf folder, so that seems fine, but when I try to add my user via cli it is giving me an error…
$ npm set registry http://myurl.com      
$ npm adduser --registry http://myurl.com                                    
Username: karl                                                                 
Password: mypassword
Email: (this IS public) myemail                                               
npm ERR! code E500                                                               
npm ERR! Registry returned 500 for PUT on http://myurl.com/-/user/org.couchdb .user:karl: internal server error
I can’t seem to work it out, and I have rebuilt the container, any help or ideas would be great, thanks.
Issue Analytics
- State:
 - Created 5 years ago
 - Comments:12 (5 by maintainers)
 
Top Results From Across the Web
Docker - Verdaccio
If you have build an image locally use verdaccio as the last argument. You can use -v to bind mount conf , storage...
Read more >Verdaccio create user to publish packages inside a GitLab CI ...
To build the docker images for servers in the project, I'm using verdaccio as a GitLab service. In the build phase, I want...
Read more >verdaccio/verdaccio - Docker Image - Docker Hub
Verdaccio Official Docker Image: A lightweight private Node.js proxy registry. ... if you use HTTPS, add an appropriate CA information ("null" means get...
Read more >Quick and Easy Local NPM Registry With Verdaccio and Docker
Sometimes it can be useful to be able to npm publish libraries or projects you're working on to a local npm registry for...
Read more >Create a free private npm registry with Verdaccio - ITNEXT
In my case I want only authenticated users to be able to see and publish ... That's it, deploy your docker image to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@carlosen14 @juanpicado perhaps worth to update the docs with this if we haven’t already?
Actually i solved that way… moved to an external volume like this
and but i had to set
USER rooton Dockerfile, else it couldn’t write on volume maybe because it was still a bind.