Public | Automated Build

Last pushed: a year ago
Short Description
Sinopia allow you to create a private npm repository.
Full Description

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.

Docker Pull Command
Owner
leelow29
Source Repository

Comments (0)