Deploy

Ensure, that

You authorized Google Cloud Artifact Registry:

gcloud auth configure-docker [REGISTRY-URL]

You set environment variables:

set -a
source ocs_deployment.env

You created network:

docker network create ocs-app-network

You generated nginx.conf:

envsubst < ./nginx/nginx.conf.template > ./nginx/nginx.conf

Perform

To Deploy Infrastructure, run following command:

docker-compose -f docker-compose-infra.yml up -d

To Deploy OCS.io Applications, run following command:

docker-compose -f docker-compose-app.yml up -d

Optionally, to NGINX, run following command:

docker-compose -f docker-compose-nginx.yml up -d

You can List Docker containers running by following command:

docker ps