0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/test/functional/config-1.yaml

91 lines
1.5 KiB
YAML
Raw Normal View History

2013-09-25 03:10:12 -05:00
storage: ./test-storage
users:
test:
password: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
users_file: ./test-storage/.htpasswd
2014-07-22 16:45:28 -05:00
max_users: 1
web:
enable: true
2013-09-27 07:36:10 -05:00
uplinks:
express:
url: http://localhost:55550/
2014-03-13 14:19:02 -05:00
timeout: 100ms
2013-09-27 07:36:10 -05:00
server2:
url: http://localhost:55552/
2013-12-11 17:01:23 -05:00
baduplink:
url: http://localhost:55666/
2013-09-27 07:36:10 -05:00
logs:
- {type: stdout, format: pretty, level: trace}
2013-09-25 03:10:12 -05:00
packages:
2014-12-14 15:29:56 -05:00
'@test/*':
allow_access: all
allow_publish: all
proxy: server2
2013-10-11 04:50:41 -05:00
'testfwd*':
2013-09-27 07:36:10 -05:00
allow_access: all
allow_publish: all
proxy_access: server2
proxy_publish: server2
2013-09-28 11:46:55 -05:00
'testloop':
allow_access: all
allow_publish: all
proxy_access: server2
proxy_publish: server2
2013-09-27 07:36:10 -05:00
'testexp*':
allow_access: all
allow_publish: all
proxy_access: express
'test-nullstorage*':
allow_access: all
allow_publish: all
proxy_access: server2
storage: false
2013-12-11 17:01:23 -05:00
'baduplink':
allow_access: all
allow_publish: all
proxy_access: baduplink
2015-04-21 11:41:50 -05:00
'test-access-only':
allow_access: $all
allow_publish: nobody
storage: false
'test-publish-only':
allow_access: nobody
allow_publish: $all
storage: false
'test-only-test':
allow_access: test
allow_publish: test
storage: false
'test-only-auth':
allow_access: $authenticated
allow_publish: $authenticated
storage: false
2013-09-25 03:10:12 -05:00
'*':
allow_access: test undefined
allow_publish: test undefined
2013-09-27 03:56:44 -05:00
# this should not matter
testpkg:
allow_access: none
2013-09-25 03:10:12 -05:00
2013-09-26 23:57:09 -05:00
listen: 55551
# expose internal methods
_debug: true