0.1.0 • Published 6 years ago

functions-io-registry v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

functions-io-registry

npm Registry

work in progress...

Minimalist npm registry and proxy for node.

Installation

$ npm install functions-io-registry

Usage

var registry = require("functions-io-registry");

registry.start();

Run image

Environment Variables

  • REGISTRY_STORE_MANIFEST_S3_ENABLED = true|false
  • REGISTRY_STORE_MANIFEST_S3_ACCESSKEYID
  • REGISTRY_STORE_MANIFEST_S3_SECRETACCESSKEY
  • REGISTRY_STORE_MANIFEST_S3_BUCKETNAME
  • REGISTRY_STORE_TARBALL_S3_ENABLED = true|false
  • REGISTRY_STORE_TARBALL_S3_ACCESSKEYID
  • REGISTRY_STORE_TARBALL_S3_SECRETACCESSKEY
  • REGISTRY_STORE_TARBALL_S3_BUCKETNAME
  • REGISTRY_STORE_MANIFEST_DISK_FOLDER
  • REGISTRY_STORE_TARBALL_DISK_FOLDER

Run container

docker run --name registry -d functionsio/registry

Run container with s3 store

docker run --name registry -e REGISTRY_STORE_MANIFEST_S3_ENABLED=true -e REGISTRY_STORE_MANIFEST_S3_ACCESSKEYID=xxx -e REGISTRY_STORE_MANIFEST_S3_SECRETACCESSKEY=xxx -e REGISTRY_STORE_MANIFEST_S3_BUCKETNAME=xxx -e REGISTRY_STORE_TARBALL_S3_ENABLED=true -e REGISTRY_STORE_TARBALL_S3_ACCESSKEYID=xxx -e REGISTRY_STORE_TARBALL_S3_SECRETACCESSKEY=xxx -e REGISTRY_STORE_TARBALL_S3_BUCKETNAME=xxx -d functionsio/registry

Build new image

docker build -t functionsio/registry:0.0.9 .

Push new imagem

docker push functionsio/registry:0.0.9

Npm

npm adduser --registry=http://myregistry.example.com --scope=@myco --always-auth

0.1.0

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago