0.0.8 • Published 8 years ago

@gotglint/glint-cluster v0.0.8

Weekly downloads
5
License
GPL-3.0
Repository
github
Last release
8 years ago

Glint Cluster

Roll Your Own Docker Containers

export PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')

docker build -f Dockerfile.master -t glint/glint-cluster-master:$PACKAGE_VERSION .
docker build -f Dockerfile.worker -t glint/glint-cluster-worker:$PACKAGE_VERSION .

docker run -d --network=host -p 45468:45468 glint/glint-cluster-master:$PACKAGE_VERSION
docker run -d --network=host glint/glint-cluster-worker:$PACKAGE_VERSION

Use the CI-Built Docker Images

docker run -d --network=host -p 45468:45468 quay.io/glint/glint-cluster-master:latest
docker run -d --network=host quay.io/glint/glint-cluster-worker:latest

Using Docker Compose

docker-compose up