Public | Automated Build

Last pushed: 8 months ago
Short Description
OpenComponents registry docker image
Full Description


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:

exports.configuration = {
  verbosity: 1,
  baseUrl: '',
  port: 3000,
  tempDir: './temp/',
  refreshInterval: 600,
  pollingInterval: 5,
  s3: {
    key: '---key---',
    secret: '---secret---',
    bucket: 'your-bucked',
    region: 'eu-west-1',
    path: '//',
    componentsDir: 'components'
  env: { name: 'production' }

Then you are ready to run your new brand oc registry:

docker run -d -v `pwd`/config.js:/app/config.js -p 3000 --name oc-registry ciricihq/oc-docker
Docker Pull Command
Source Repository