## ## verdaccio.yaml -- Verdaccio Server Configuration ## listen: http://127.0.0.1:4873 url_prefix: http://127.0.0.1:4873 #https: # key: @l_prefix@/etc/verdaccio/server.key # cert: @l_prefix@/etc/verdaccio/server.crt # ca: @l_prefix@/etc/verdaccio/ca.crt #http_proxy: http://127.0.0.1:3128/ #https_proxy: https://127.0.0.1:3128/ #no_proxy: example.com,localhost,127.0.0.1 max_body_size: 20mb storage: @l_prefix@/var/verdaccio/pkg plugins: @l_prefix@/lib/verdaccio/node_modules auth: htpasswd: file: @l_prefix@/var/verdaccio/etc/htpasswd max_users: +inf npm: registry: https://registry.npmjs.org timeout: 5000 logs: - type: file path: @l_prefix@/var/verdaccio/log/verdaccio.log format: pretty-timestamped level: info web: enable: true title: Verdaccio logo: logo.png scope: \@example uplinks: npmjs: url: https://registry.npmjs.org/ timeout: 30s maxage: 2m max_fails: 2 fail_timeout: 5m packages: "@example/*": access: $all publish: $authenticated "**": access: $all publish: $authenticated proxy: npmjs middlewares: profile-api: audit: enabled: true