Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tacone/verdaccio
simple docker compose set up for Verdaccio
https://github.com/tacone/verdaccio
Last synced: 7 days ago
JSON representation
simple docker compose set up for Verdaccio
- Host: GitHub
- URL: https://github.com/tacone/verdaccio
- Owner: tacone
- Created: 2024-01-23T14:35:59.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-01-24T23:26:42.000Z (10 months ago)
- Last Synced: 2024-01-25T00:37:50.110Z (10 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Verdaccio docker compose set up
This is a simple docker compose set up for [Verdaccio](http://www.verdaccio.org/).
## Usage
1. Clone this repository
2. Create a `.env` file (and change the UID and GID to your own)
```bash
cp .env.sample .env
```3. Run `docker-compose up -d`
4. You use Verdaccio globally by setting the NPM environment variable to localhost:4873
```bash
export NPM_CONFIG_REGISTRY=http://localhost:4873
```You can use Verdaccio globally only if it's running with the following command:
```bash
type nc > /dev/null && nc -w1 -z localhost 4873 && export NPM_CONFIG_REGISTRY=http://localhost:4873
```