Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 791 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 791 Bytes

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