Created
October 11, 2018 03:39
-
-
Save udomsak/b136b12f43fe3752947cab5ce6b61ec4 to your computer and use it in GitHub Desktop.
verdaccio docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
verdaccio: | |
image: verdaccio/verdaccio | |
hostname: npm-registry | |
ports: | |
- 4873:4873 | |
# volumes: | |
# - /etc/verdaccio/conf:/verdaccio/conf | |
# - /var/cache/verdaccio/storage:/verdaccio/storage | |
# - /var/cache/verdactio/plugins:/verdaccio/plugins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
after verdaccio is running. for developer machine set our private registry
npm set registry http://{ vadaccio ip server}:4873
check configuration
npm config list
result should same like this
Try
mkdir Test && Test
paste below on shell terminal ( linux ) you should get 'package.json' file
Running
npm install