Self-host Verdaccio with Levelrail
VerifiedA lightweight private npm proxy registry with caching and local package publishing.
- Authorverdaccio
- LicenceMIT
- Memory256 MiB
- Archarm64
- Services1
How to self-host Verdaccio
-
Pull the images
One image is pulled on your server.
Show images
verdaccio/verdaccio:5.31.1
-
Create the app
One service starts in a single Compose app, with 2 named volume mounts for your data, on port 4873.
-
Fill in the secrets
1 setting is preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Verdaccio requirements
- Memory
- About 256 MiB
- Architectures
- amd64 image published, arm64 tested
- Ports
- 4873
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- MIT, permissive license
- Verified. Verified on arm64 with image tag 5.31.1. Our CI ran this exact image version and it answered on its health path. Evidence
- Host ports. It publishes port 4873 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Verdaccio. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Verdaccio docs page.
Deploy Verdaccio your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Verdaccio from the CLI
levelrail-cli templates deploy verdaccio --name my-verdaccio Deploy Verdaccio with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/verdaccio/deploy Verdaccio configuration
Verdaccio services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| verdaccio | verdaccio/verdaccio:5.31.1 | 4873 | verdaccio_storage -> /verdaccio/storageverdaccio_conf -> /verdaccio/conf |
Verdaccio environment variables
| Variable | Service | Value |
|---|---|---|
| VERDACCIO_PORT | verdaccio | Preset by the template |
Ports and volumes
- Ports
- 4873
- Volumes
- 2 named mounts: verdaccio_storage -> /verdaccio/storage, verdaccio_conf -> /verdaccio/conf
Verdaccio FAQ
How much memory does Verdaccio need?
The catalog lists about 256 MiB of memory for Verdaccio.
Does Verdaccio run on arm64?
For Verdaccio, arm64 is tested; amd64 is image published.
What licence is Verdaccio under?
Verdaccio is licensed under MIT, which is permissive, with few conditions on reuse.
Does Verdaccio need configuration before it starts?
No. The template fills in its own defaults.
Which ports does Verdaccio use?
Verdaccio listens on port 4873 inside the stack.
Where does Verdaccio keep its data?
In named volumes: verdaccio_storage mounted at /verdaccio/storage and verdaccio_conf mounted at /verdaccio/conf.
Can I deploy Verdaccio on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id verdaccio for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image verdaccio/verdaccio:5.31.1 is what you deploy there.