This repository contains a docker-compose app for running a private npm registry.
By default, it does not replicate the public registry, but this can be changed by running the couchapp separately (i.e. not via docker-compose) and using the admin tool to set up replication.
docker-compose up
npm publish --registry http://admin:password@localhost:8080