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

93 lines
1.6 KiB
YAML
Raw Normal View History

2013-09-26 23:57:09 -05:00
storage: ./test-storage2
2013-09-25 03:10:12 -05:00
2013-09-27 03:56:44 -05:00
uplinks:
server1:
url: http://localhost:55551/
2014-03-13 14:45:47 -05:00
maxage: 0
2013-09-27 03:56:44 -05:00
web:
enable: true
title: verdaccio-server-2
middlewares:
../fixtures/plugins/middlewares:
message: this is a custom route
max_users: 3
2015-04-11 08:09:19 -05:00
auth:
auth-memory:
users:
test:
name: test
password: test
authtest2:
name: authtest2
password: blahblah
authtest:
name: authtest
password: blahblah
2015-04-11 08:09:19 -05:00
2013-12-11 17:01:23 -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
2014-12-14 15:29:56 -05:00
proxy: server1
2013-09-27 07:36:10 -05:00
'testfwd':
allow_access: $all
allow_publish: $all
2014-03-13 14:45:47 -05:00
2013-09-28 11:46:55 -05:00
'testloop':
allow_access: $all
allow_publish: $all
2013-09-28 11:46:55 -05:00
proxy_access: server1
proxy_publish: server1
2013-09-27 07:36:10 -05:00
# used by gh29.js
'testpkg-gh29':
allow_access: test $anonymous
allow_publish: test $anonymous
proxy_access: server1
# used by preserve_tags_spec.js
'testpkg-preserve':
allow_access: test $anonymous
allow_publish: test $anonymous
proxy_access: server1
'testpkg':
allow_access: test $anonymous
allow_publish: test $anonymous
2013-09-27 03:56:44 -05:00
proxy_access: server1
'readme-*':
allow_access: test $anonymous
allow_publish: test $anonymous
proxy_access: server1
'test-nullstorage*':
allow_access: $all
allow_publish: $all
2015-04-11 08:09:19 -05:00
'test-auth-regular':
allow_access: $authenticated
'test-auth-*':
allow_access: authtest
'test-deny':
allow_access: authtest2
2015-04-11 08:09:19 -05:00
2013-09-25 03:10:12 -05:00
'*':
allow_access: test $anonymous
allow_publish: test $anonymous
2013-09-25 03:10:12 -05:00
2013-09-26 23:57:09 -05:00
listen: 55552
# expose internal methods
_debug: true