https://github.com/ciricihq/oc-docker
OpenComponents registry docker image
https://github.com/ciricihq/oc-docker
docker nodejs opencomponents registry
Last synced: 9 months ago
JSON representation
OpenComponents registry docker image
- Host: GitHub
- URL: https://github.com/ciricihq/oc-docker
- Owner: ciricihq
- License: gpl-3.0
- Created: 2017-04-04T14:24:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-20T09:06:47.000Z (over 8 years ago)
- Last Synced: 2025-04-13T07:53:53.643Z (about 1 year ago)
- Topics: docker, nodejs, opencomponents, registry
- Language: JavaScript
- Homepage: https://github.com/opentable/oc
- Size: 84 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-oc - OpenComponents registry docker image
README
# oc-docker
OpenComponents registry docker image
## Using this image
First download the latest build
```
docker pull ciricihq/oc-docker
```
Then create your configuration somewhere. You have an example in `config.js.dist`.
You have to provide to container a config.js file like the next one:
```javascript
exports.configuration = {
verbosity: 1,
baseUrl: 'https://my-components-registry.mydomain.com/',
port: 3000,
tempDir: './temp/',
refreshInterval: 600,
pollingInterval: 5,
s3: {
key: '---key---',
secret: '---secret---',
bucket: 'your-bucked',
region: 'eu-west-1',
path: '//your-bucket.s3-website-eu-west-1.amazonaws.com',
componentsDir: 'components'
},
env: { name: 'production' }
}
```
Then you are ready to run your new brand oc registry:
```bash
docker run -d -v `pwd`/config.js:/app/config.js -p 3000 --name oc-registry ciricihq/oc-docker
```