Skip to content

Instantly share code, notes, and snippets.

@yuna0x0
Last active January 2, 2025 22:35
Show Gist options
  • Save yuna0x0/d197759f8b8d850df00f9de94913f163 to your computer and use it in GitHub Desktop.
Save yuna0x0/d197759f8b8d850df00f9de94913f163 to your computer and use it in GitHub Desktop.
Verdaccio Setup - Private Unity Scoped Registry (with OpenUPM fallback)
storage: /verdaccio/storage/data
plugins: /verdaccio/plugins
auth:
htpasswd:
file: /verdaccio/storage/htpasswd
algorithm: bcrypt
uplinks:
# npmjs:
# url: https://registry.npmjs.org/
openupm:
url: https://package.openupm.com/
packages:
# '@*/*':
# access: $all
# publish: $authenticated
# proxy: npmjs
'**':
access: $authenticated
publish: $authenticated
unpublish: $authenticated
proxy: openupm
server:
keepAliveTimeout: 60
max_body_size: 100mb
middlewares:
audit:
enabled: true
log: { type: stdout, format: pretty, level: http }
#!/bin/bash
docker run -it --rm --name verdaccio \
-p 4873:4873 \
-v ./conf:/verdaccio/conf \
-v ./storage:/verdaccio/storage \
-v ./plugins:/verdaccio/plugins \
verdaccio/verdaccio
@yuna0x0
Copy link
Author

yuna0x0 commented Jan 2, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment