Self-host Verdaccio with Docker
A lightweight private npm proxy registry with caching and local package publishing.
This page describes the Levelrail template for Verdaccio (Developer Tools). It deploys the services below as one Docker Compose app on your own server.
Project site: https://verdaccio.org/docs/installation.Recommended memory: about 256 MiB.
Services, ports and volumes
| Service | Image | Container ports | Volumes |
|---|---|---|---|
verdaccio | verdaccio/verdaccio:5.31.1 | 4873 | verdaccio_storage -> /verdaccio/storageverdaccio_conf -> /verdaccio/conf |
Environment variables
| Service | Variable | Value |
|---|---|---|
verdaccio | VERDACCIO_PORT | Preset in the template |
Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.
Deploy Verdaccio with Levelrail
In the dashboard, open Apps, choose New app, then Browse templates, and select Verdaccio. Review the Compose body and deploy.
With the CLI:
levelrail-cli templates deploy verdaccio --name my-verdaccioSee Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.
More Developer Tools templates
All templates are listed in the self-host gallery.