Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aledbf/sinopia-docker
Sinopia (Docker Image)
https://github.com/aledbf/sinopia-docker
Last synced: about 2 months ago
JSON representation
Sinopia (Docker Image)
- Host: GitHub
- URL: https://github.com/aledbf/sinopia-docker
- Owner: aledbf
- License: mit
- Created: 2015-10-16T20:53:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-16T20:56:15.000Z (about 9 years ago)
- Last Synced: 2024-10-14T15:56:48.742Z (3 months ago)
- Language: Shell
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Sinopia
[Sinopia](https://github.com/rlidwka/sinopia) is a private npm repository server.
**Run sinopia container:**
`mkdir -p /path/to/storage`
`mkdir -p /path/to/config.yaml`
*edit config.yaml*
`docker run \
-v /path/to/storage:/sinopia/storage \
-v /path/to/config.yaml:/sinopia/config.yaml \
--name sinopia -d -P aledbf/sinopia`### Optional Usage
- To run default container on port 4873
`docker run --name sinopia -d -p 4873:4873 aledbf/sinopia`
- to sync storage
`docker run --name sinopia -d -p 4873:4873 -v :/storage aledbf/sinopia`
- To attach a custom config.yaml
docker run -v :/sinopia/config.yaml \
-d -p 4873:4873 aledbf/sinopia`- To modify config.yaml, update local config then restart
`docker restart sinopia`
### Building Custom Containers
- From github repository
```
git clone https://github.com/aledbf/sinopia-docker.git
cd sinopia-docker
make container
```