Public | Automated Build

Last pushed: 2 months ago
Short Description
private npm registry
Full Description

Sinopia (Docker Image)

Sinopia is a private npm repository server.


docker pull rnbwd/sinopia

  • The current latest (this will change soon) is based on my slighly modified version for use with jwilder/nginx-proxy (default build for the last 2 years) rnbwd/sinopia:proxy (latest).

  • For those who want to use the orignal, unmodified repo and node v0.10, use rnbwd/sinopia:stable.

  • Also there's an alpine version that's very tiny and efficient, currently experimental rnbwd/sinopia:alpine.

  • The file structure has been modified - the sinopia repo is located at /sinopia/registry. See this issue for speculation on the future of sinopia.

Recommend Usage

  • To run default container on port 4873

docker run --name sinopia -d -p 4873:4873 rnbwd/sinopia

docker run --name sinopia -d -p 4873:4873 -v <local-path-to-storage>:/sinopia/registry/storage -v <local-path-to-config>:/sinopia/registry/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.
    wd/sinopia`

Building Custom Containers

  • From github repository
git clone https://github.com/RnbWd/sinopia-docker.git
cd sinopia-docker
docker build -t sinopia .
docker run -d -p 4873:4873 sinopia

License

MIT

Docker Pull Command
Owner
rnbwd
Source Repository

Comments (4)
andrefreitas
a year ago

Hi,
Thanks for your contribution. I just have an important suggestion:

I have a container running with this image that was broken twice due breaking changes on the image. If you are planing to break things, please at least provide images tagged with semantic version to lock the deployed versions and don't break anything by using always the latest version.

Thanks for your work,
André Freitas

rnbwd
2 years ago

I'm maintaining a side repo for a pull request that was never merged https://github.com/rlidwka/sinopia/pull/268 - it's just one line of code for the proxy that won't effect anything.

I can't maintain previous builds at this point, but my repo is open source and if you clone https://github.com/RnbWd/sinopia-docker you'll only have to change one line: RUN git clone --depth 1 https://github.com/RnbWd/sinopia.git to RUN git clone --branch (vx.x.x) .... rlidwka/sinopia.git and then build, hope that helps

rnbwd
2 years ago

The image hasn't changed in months I just downgrade to node v10

g13013
2 years ago

can you tag please the image version among with latest ?