Skip to content

creative-hub-taass/microservice-publications

Repository files navigation

microservice-publications

Docker Image CI

Microservizio pubblicazioni

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 -}