0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00
verdaccio/docker-examples/v4/multi-registry-uplink/server1/conf/config.yaml
Juan Picado 9cf5cee4fd
docs: copy docker examples v4 (#2120)
* docs: copy docker examples v4

* docs: copy docker examples v4

* chore: update ignore files
2021-03-10 22:49:20 +01:00

55 lines
1.1 KiB
YAML

#
# This is the config file used for the docker images.
# It allows all users to do anything, so don't use it on production systems.
#
# Do not configure host and port under `listen` in this file
# as it will be ignored when using docker.
# see https://github.com/verdaccio/verdaccio/blob/master/wiki/docker.md#docker-and-custom-port-configuration
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
#
# path to a directory with all packages
storage: /verdaccio/storage
auth:
htpasswd:
file: /verdaccio/conf/htpasswd
security:
api:
jwt:
sign:
expiresIn: 60d
notBefore: 1
web:
sign:
expiresIn: 7d
# a list of other known repositories we can talk to
uplinks:
server3:
url: http://verdaccio3:4873/
max_fails: 100
timeout: 100s
packages:
'@jota/*':
access: $all
publish: $all
proxy: server3
'@*/*':
access: $all
publish: $all
proxy: server3
'**':
access: $all
publish: $all
proxy: server3
middlewares:
audit:
enabled: true
logs:
- { type: stdout, format: pretty, level: trace }