It is without say that you need to ensure all the necessary tooling
application like gcloud
, docker
, helm
, etc. are installed
and configured.
Build and push docker image
gcloud auth login
docker build -t gcr.io/<project_id>/revgcs:latest .
Pull docker image
docker push gcr.io/<project_id>/revgcs:latest
Configurations
gcloud auth application-default login
docker network create --driver=bridge --subnet=172.20.0.0/16 <project_id>
docker run --rm -d -p 8080 \
--network <project_id> --ip 172.20.0.2 \
-v ~/.config/gcloud:/root/.config/gcloud \
gcr.io/<project_id>/revgcs:latest revgcs --bind 0.0.0.0:8080
helm repo add syncaide http://172.20.0.2:8080/static.syncaide.com/charts