Skip to content

creative-hub-taass/api-gateway

Repository files navigation

api-gateway

Docker Image CI

API Gateway

Linux / Mac (bash)

COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up --renew-anon-volumes --force-recreate --build

Windows (Powershell)

$env:COMPOSE_DOCKER_CLI_BUILD=1; $env:DOCKER_BUILDKIT=1; docker-compose up --renew-anon-volumes --force-recreate --build

Kubernetes (local)

Linux / Mac (bash)

minikube start
for f in ./orchestration/*.yaml; do cat $f | envsubst | kubectl apply -f -; done
minikube tunnel

Windows (Powershell)

minikube start
Resolve-Path .\orchestration\*.yaml | Select -ExpandProperty Path | %{Get-Content $_ | envsubst | kubectl apply -f -}
minikube tunnel

Kubernetes (Okteto)

Linux / Mac (bash)

okteto kubeconfig
for f in ./orchestration/*.yaml; do cat $f | envsubst | kubectl apply -f -; done

Windows (Powershell)

okteto kubeconfig
Resolve-Path .\orchestration\*.yaml | Select -ExpandProperty Path | %{Get-Content $_ | envsubst | kubectl apply -f -}