Private NPM registry created with Verdaccio.
$ docker compose up
username: publisher
password: publisher
Define in your .npmrc a registry field.
.npmrc
file:
registry=http://localhost:4873
$ npm login --registry=http://localhost:4873
$ npm publish --registry=http://localhost:4873