Sign inSign up

leelow29/sinopia

By leelow29

•Updated about 10 years ago

Sinopia allow you to create a private npm repository.

Image
0

300

leelow29/sinopia repository overview

Sinopia⁠ is a private npm repository server.

This repo uses leelow/sinopia⁠ and leelow/sinopia-mongodb⁠ for authentication.

⁠Recommend Usage
  • To run default container on port 4873

docker run --name sinopia -d -p 4873:4873 leelow29/sinopia

  • to sync storage / config.yaml

mkdir -p /path/to/storage

mkdir -p /path/to/config.yaml

edit config.yaml⁠

docker run --name sinopia -d -p 4873:4873 -v <local-path-to-storage>:/sinopia/storage -v <local-path-to-config>:/sinopia/config.yaml rnbwd/sinopia

  • The volume will be synced, so you can update the anything linked outside of the container and it will automatically change the files inside the container. Run docker restart sinopia if config.yaml is updated.
⁠Building Custom Containers
  • From github repository
git clone https://github.com/leelow/sinopia-docker.git
cd sinopia-docker
docker build -t sinopia .
docker run -d -p 4873:4873 sinopia

Thanks to @RnbWd⁠ and @rlidwka⁠.

Tag summary

Content type

Image

Digest

Size

119.4 MB

Last updated

about 10 years ago

docker pull leelow29/sinopia