verdaccio/docker-examples/v6/docker-local-storage-volume
Aron Hafner 43c164efe0
docs: update config to use log property (#3339)
Update config.yaml to use log property instead of the depreciated logs

When using logs the following error occurs

```
Error: Error: the property config "logs" property is longer supported, rename to "log" and use object instead
```
2022-08-31 08:07:25 +02:00
..
conf docs: update config to use log property (#3339) 2022-08-31 08:07:25 +02:00
storage migrate verdaccio-docker-local-storage from V4 to V6 (#2686) 2021-11-19 17:22:31 +01:00
README.md Fix link to readme (#3302) 2022-08-17 17:15:14 +02:00
docker-compose.yaml migrate verdaccio-docker-local-storage from V4 to V6 (#2686) 2021-11-19 17:22:31 +01:00

README.md

Verdaccio and simple local storage

This example shows a simple configuration for verdaccio plus the default local storage with the minimum configuration required using docker-compose.

Contains

  • conf: Configuration file and default user httpasswd
  • storage: A published default package with 2 versions.
$> docker-compose up

Login

If you want to login into the Verdaccio instance created via these Docker Examples, please try:

Username: jpicado Password: jpicado

Running in Dokku

If you use Dokku, an open-source alternative for Heroku, you can run this example using the following steps:

  1. Create a new application dokku apps:create verdaccio
  2. Pull the verdaccio image docker pull verdaccio/verdaccio:
  3. Tag the docker image for the app: docker tag verdaccio/verdaccio:nightly-master dokku/verdaccio:v1
  4. Create the directories for persistent storage mkdir -p /var/lib/dokku/data/storage/verdaccio/storage, mkdir -p /var/lib/dokku/data/storage/verdaccio/storage
  5. Mount the volumes: dokku storage:mount verdaccio /var/lib/dokku/data/storage/verdaccio/storage:/verdaccio/storage and dokku storage:mount verdaccio /var/lib/dokku/data/storage/verdaccio/conf:/verdaccio/conf
  6. Deploy the docker image dokku tags:deploy verdaccio v1
  7. Enjoy the application