Last active
January 2, 2025 22:35
-
-
Save yuna0x0/d197759f8b8d850df00f9de94913f163 to your computer and use it in GitHub Desktop.
Verdaccio Setup - Private Unity Scoped Registry (with OpenUPM fallback)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OpenUPM - Host Your Private Unity Scoped Registry in Just 15 Minutes
Security advisory when using
proxy
config:Dependency Confusion Vulnerabilities in Unity Game Development