Skip to content

Spring Boot Petclinic application, for educational purposes, on GCP. Using Cloud Run, Cloud SQL and Terraform.

Notifications You must be signed in to change notification settings

joaovictorino/terraform-docker-gcp-spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform ambiente PaaS no GCP, usando Cloud SQL MySQL e Cloud Run

Pré-requisitos

  • gcloud instalado
  • Terraform instalado

Logar no GCP via gcloud, o navegador será aberto para que o login seja feito

gcloud auth login

Inicializar o Terraform

terraform init

Compilar a imagem Dockerfile localmente

docker build -t springapp .

Renomear a imagem

docker tag springapp:latest us-central1-docker.pkg.dev/teste-sample-388301/ar-aula-spring/springapp:latest

Executar o Terraform

terraform apply -auto-approve

About

Spring Boot Petclinic application, for educational purposes, on GCP. Using Cloud Run, Cloud SQL and Terraform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published