Private NPM Registry
If you would like to use a private NPM registry with Coolify, you can do so by following the steps below.
- Add
.npmrc
file to your project root with the following content:
bash
//registry.npmjs.org/:_authToken=$NPM_TOKEN
- Add the following environment variables to your project as a
build
variable:
bash
NPM_TOKEN=your_npm_token
- Deploy your application.