Sinopia is a private npm repository server.
This repo uses master branch with a minor modification to lib/index.js which allows a trust proxy for an nginx container. The maintained repo can be found here
Using with iojs v1.7.1 - let me know if there's any issues with this version. The storage path is also changed in the config.yaml to handle the edge case where htpasswd is installed via npm.
docker run --name sinopia-ldap -d -p 4873:4873 plitex/sinopia-ldap-docker
docker run --name sinopia-ldap -d -p 4873:4873 -v <local-path-to-storage>:/sinopia/storage plitex/sinopia-ldap-docker
To attach a custom config.yaml
docker run -v :/sinopia/config.yaml
-d -p 4873:4873 plitex/sinopia-ldap-docker`
To modify config.yaml, update local config then restart
docker restart sinopia-ldap
git clone https://github.com/plitex/sinopia-ldap-docker.git
cd sinopia-ldap-docker
docker build -t sinopia-ldap .
docker run -d -p 4873:4873 sinopia-ldap
Use nginx-proxy or jwilder/nginx-proxy
After running the nginx-proxy, run the sinopia container with env var VIRTUAL_HOST
docker run -e VIRTUAL_HOST=foo.bar.com \
-v <local-path-to-config>:/sinopia/config.yaml \
--name sinopia-ldap -d -P plitex/sinopia-ldap-docker
Content type
Image
Digest
sha256:4784823d4…
Size
132.8 MB
Last updated
about 11 years ago
docker pull plitex/sinopia-ldap-docker