0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/lib/config_def.yaml

46 lines
1.2 KiB
YAML
Raw Normal View History

2013-06-13 09:21:14 -05:00
# path to a directory with all packages
storage: ./storage
2013-09-23 23:27:47 -05:00
# a list of users
2013-06-13 09:21:14 -05:00
users:
admin:
# crypto.createHash('sha1').update(pass).digest('hex')
password: __PASSWORD__
2013-09-23 23:27:47 -05:00
# a list of other known repositories we can talk to
2013-06-13 09:21:14 -05:00
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
2013-09-23 23:36:43 -05:00
# uncomment this for packages with "local-" prefix to be available
# for admin only, it's a recommended way of handling private packages
#'local-*':
# allow_access: admin
# allow_publish: admin
2013-06-14 04:27:08 -05:00
'*':
2013-09-23 23:27:47 -05:00
# allow all users to read packages ('all' is a keyword)
# this includes non-authenticated (anonymous) users
allow_access: all
2013-06-13 09:21:14 -05:00
2013-09-23 23:27:47 -05:00
# allow 'admin' to publish packages
allow_publish: admin
# if package is not available locally, proxy requests to 'npmjs' registry
proxy_access: npmjs
# when package is published locally, also push it to remote registry
#proxy_publish: none
2013-09-23 23:36:43 -05:00
#####################################################################
# Advanced settings
#####################################################################
# if you use nginx with custom path, use this to override links
#url_prefix: https://dev.company.local/sinopia/
2013-09-23 23:40:46 -05:00
# you can specify listen address (or simply a port)
#listen: localhost:4873