Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.76 KB

README.md

File metadata and controls

30 lines (18 loc) · 1.76 KB

Sinopia (Docker Image)

Build Status Docker Pulls Docker Stars Average time to resolve an issue Percentage of issues still open License MIT

Sinopia is a private npm repository server.

Recommend Usage

  • To run default container on port 4873

docker run --name sinopia -d -p 4873:4873 bankiru/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 bankiru/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.