1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/functional/store/config-2.yaml

98 lines
1.6 KiB
YAML
Raw Normal View History

2013-09-27 06:57:09 +02:00
storage: ./test-storage2
2013-09-25 10:10:12 +02:00
2013-09-27 10:56:44 +02:00
uplinks:
server1:
url: http://localhost:55551/
2014-03-13 20:45:47 +01:00
maxage: 0
2013-09-27 10:56:44 +02:00
web:
enable: true
title: verdaccio-server-2
middlewares:
../fixtures/plugins/middlewares:
message: this is a custom route
../fixtures/plugins/middlewares.es6:
message: this is a custom route es6
max_users: 3
2015-04-11 15:09:19 +02:00
auth:
auth-memory:
users:
test:
name: test
password: test
authtest2:
name: authtest2
2018-06-23 08:35:06 +02:00
password: blahblah-password
authtest:
name: authtest
2018-06-23 08:35:06 +02:00
password: blahblah-password
2015-04-11 15:09:19 +02:00
2013-12-11 23:01:23 +01:00
logs:
- { type: stdout, format: pretty, level: trace }
2013-12-11 23:01:23 +01:00
2013-09-25 10:10:12 +02:00
packages:
2014-12-14 21:29:56 +01:00
'@test/*':
access: $all
publish: $all
2014-12-14 21:29:56 +01:00
proxy: server1
2018-06-23 01:03:25 +02:00
'test-fwd':
access: $all
publish: $all
'test-mirror-fwdw*':
access: $all
publish: $all
2014-03-13 20:45:47 +01:00
2013-09-28 18:46:55 +02:00
'testloop':
access: $all
publish: $all
proxy: server1
2013-09-27 14:36:10 +02:00
# used by gh29.js
'testpkg-gh29':
access: test $anonymous
publish: test $anonymous
proxy: server1
# used by preserve_tags_spec.js
'testpkg-preserve':
access: test $anonymous
publish: test $anonymous
proxy: server1
'testpkg':
access: test $anonymous
publish: test $anonymous
proxy: server1
2013-09-27 10:56:44 +02:00
'readme-*':
access: test $anonymous
publish: test $anonymous
proxy: server1
'test-nullstorage*':
access: $all
publish: $all
## start test auth.js
2015-04-11 15:09:19 +02:00
'test-auth-regular':
access: $authenticated
2015-04-11 15:09:19 +02:00
'test-auth-*':
access: authtest
'test-deny':
access: authtest2
## end test auth.js
2015-04-11 15:09:19 +02:00
2013-09-25 10:10:12 +02:00
'*':
access: test $anonymous
publish: test $anonymous
2013-09-25 10:10:12 +02:00
# expose internal methods
_debug: true