verdaccio/test/functional/config-1.yaml

63 lines
1.1 KiB
YAML
Raw Normal View History

2013-09-25 10:10:12 +02:00
storage: ./test-storage
users:
test:
password: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
2014-07-22 23:45:28 +02:00
users_file: ./test-storage/htpasswd
max_users: 1
2013-09-27 14:36:10 +02:00
uplinks:
express:
url: http://localhost:55550/
2014-03-13 20:19:02 +01:00
timeout: 100ms
2013-09-27 14:36:10 +02:00
server2:
url: http://localhost:55552/
2013-12-11 23:01:23 +01:00
baduplink:
url: http://localhost:55666/
2013-09-27 14:36:10 +02:00
logs:
- {type: stdout, format: pretty, level: trace}
2013-09-25 10:10:12 +02:00
packages:
2013-10-11 11:50:41 +02:00
'testfwd*':
2013-09-27 14:36:10 +02:00
allow_access: all
allow_publish: all
proxy_access: server2
proxy_publish: server2
2013-09-28 18:46:55 +02:00
'testloop':
allow_access: all
allow_publish: all
proxy_access: server2
proxy_publish: server2
2013-09-27 14:36:10 +02: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 23:01:23 +01:00
'baduplink':
allow_access: all
allow_publish: all
proxy_access: baduplink
2013-09-25 10:10:12 +02:00
'*':
allow_access: test undefined
allow_publish: test undefined
2013-09-27 10:56:44 +02:00
# this should not matter
testpkg:
allow_access: none
2013-09-25 10:10:12 +02:00
2013-09-27 06:57:09 +02:00
listen: 55551
# expose internal methods
_debug: true