Skip to content

creative-hub-taass/microservice-users

Repository files navigation

microservice-users

Docker Image CI

Microservizio utenti

Docker compose

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
export GATEWAY_URL=http://localhost:8080
for f in ./orchestration/*.yaml; do cat $f | envsubst | kubectl apply -f -; done
minikube tunnel

Windows (Powershell)

minikube start
$env:GATEWAY_URL = "http://localhost:8080"
Resolve-Path .\orchestration\*.yaml | Select -ExpandProperty Path | %{Get-Content $_ | envsubst | kubectl apply -f -}
minikube tunnel

Kubernetes (Okteto)

Linux / Mac (bash)

okteto kubeconfig
export GATEWAY_URL=https://api-gateway-acontenti.cloud.okteto.net
for f in ./orchestration/*.yaml; do cat $f | envsubst | kubectl apply -f -; done

Windows (Powershell)

okteto kubeconfig
$env:GATEWAY_URL = "https://api-gateway-acontenti.cloud.okteto.net"
Resolve-Path .\orchestration\*.yaml | Select -ExpandProperty Path | %{Get-Content $_ | envsubst | kubectl apply -f -}