diff --git a/envs/dev/cloudrun.tf b/envs/dev/cloudrun.tf index ff913d2..d8925d4 100755 --- a/envs/dev/cloudrun.tf +++ b/envs/dev/cloudrun.tf @@ -5,7 +5,30 @@ resource "google_cloud_run_service" "cloudrun-dev-main-backend" { template { spec { containers { + name = "nginx" + image = "asia-northeast1-docker.pkg.dev/${var.project_id}/dev-main/nginx:latest" + ports { + container_port = 80 + } + } + + + containers { + name = "backend" image = "asia-northeast1-docker.pkg.dev/${var.project_id}/dev-main/backend:latest" + env { + name = "PORT" + value = "8080" + } + } + + containers { + name = "frontend" + image = "asia-northeast1-docker.pkg.dev/${var.project_id}/dev-main/frontend:latest" + env { + name = "PORT" + value = "3000" + } } } }