From ac0ea2650b01ee9d98f06fc453021dd32d8ba8a8 Mon Sep 17 00:00:00 2001 From: Pascal Grimaud Date: Fri, 16 Aug 2024 14:31:55 +0200 Subject: [PATCH] GCP: use default port 8080 with active cloud profile --- app.yaml | 1 + src/main/resources/config/application-cloud.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/app.yaml b/app.yaml index 3615856fe6c..b86f47bc1a0 100644 --- a/app.yaml +++ b/app.yaml @@ -9,3 +9,4 @@ manual_scaling: env_variables: GCP_PROJECT_ID: GCP_REGION: + SPRING_PROFILES_ACTIVE: cloud diff --git a/src/main/resources/config/application-cloud.yml b/src/main/resources/config/application-cloud.yml index 3349d30ffb3..fb5e6184c59 100644 --- a/src/main/resources/config/application-cloud.yml +++ b/src/main/resources/config/application-cloud.yml @@ -1,2 +1,5 @@ application: forced-project-folder: /tmp/jhlite + +server: + port: 8080