Sinopia is a private npm repository server.
- 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
ifconfig.yaml
is updated.