nixfiles/hosts/koi/containers/verdaccio/config/config.yaml

39 lines
582 B
YAML
Raw Normal View History

2024-07-16 22:57:04 +03:00
# path to a directory with all packages
storage: /verdaccio/storage
web:
enable: true
title: alina's personal registry
primary_color: "#be15dc"
uplinks:
npmjs:
url: https://registry.npmjs.org/
auth:
htpasswd:
file: /verdaccio/htpasswd
max_users: -1 # disable registrations
security:
api:
jwt:
sign:
expiresIn: 60d
notBefore: 1
web:
sign:
expiresIn: 60d
packages:
'**':
access: $all
publish: $authenticated
middlewares:
audit:
enabled: true
logs:
- { type: stdout, format: pretty, level: trace }