Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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
```