Skip to content

aofdev/verdaccio-nginx-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

verdaccio nginx dokcer

Setup with docker-compose

docker-compose up --build -d

Web UI

http://localhost:4873 or <your-ip>

Basic Usage

# Configuring your registry settings as an npm registry
npm config set registry http://localhost:4873 or <your-ip>
# Logging in to an npm registry
npm login --registry=http://localhost:4873 or <your-ip>
# Publish a package
npm publish --registry=http://localhost:4873 or <your-ip>
# Remove a package
npm unpublish --registry http://localhost:4873 or <your-ip>
# Install a package
npm install --registry=http://localhost:4873 or <your-ip>

User already

user: admin
pass: admin!

There are some tools you can create a new user for htpasswd Generator htpasswd open verdaccio/htpasswd file, add a new line and paste that what the tool is created

Note* If your 404 no such package available error

If your using docker then the following worked for me:

docker-compose exec --user root verdaccio /bin/sh

and than

chown verdaccio: /verdaccio/ -R

Releases

No releases published

Packages

No packages published