From 5aceae5961b6a4432628cb2bbb1e88320ff8d07e Mon Sep 17 00:00:00 2001 From: Sejeong Kim Date: Sat, 4 Jan 2025 22:26:14 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20actuator=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=ED=9B=84=20dev=20=EB=B0=B0=ED=8F=AC=20?= =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/aws-cicd-dev.yml | 2 ++ layer-api/src/main/resources/application-dev.yml | 8 ++++++++ layer-api/src/main/resources/application-prod.yml | 8 ++++++++ 3 files changed, 18 insertions(+) diff --git a/.github/workflows/aws-cicd-dev.yml b/.github/workflows/aws-cicd-dev.yml index bb0b5251..2cfd711b 100644 --- a/.github/workflows/aws-cicd-dev.yml +++ b/.github/workflows/aws-cicd-dev.yml @@ -4,9 +4,11 @@ on: push: branches: - develop + - chore/LA-33 pull_request: branches: - develop + - chore/LA-33 env: REGISTRY: "docker.io" NAMESPACE: "clean01" diff --git a/layer-api/src/main/resources/application-dev.yml b/layer-api/src/main/resources/application-dev.yml index 61f8666b..22f8d339 100644 --- a/layer-api/src/main/resources/application-dev.yml +++ b/layer-api/src/main/resources/application-dev.yml @@ -90,3 +90,11 @@ discord: retrospect-url: ${DISCORD_RETROSPECT_URL} space-url: ${DISCORD_SPACE_URL} member-url: ${DISCORD_MEMBER_URL} + +# actuator +management: + endpoints: + enabled-by-default: false + endpoint: + health: + enabled: true \ No newline at end of file diff --git a/layer-api/src/main/resources/application-prod.yml b/layer-api/src/main/resources/application-prod.yml index c6fc358d..77dd31de 100644 --- a/layer-api/src/main/resources/application-prod.yml +++ b/layer-api/src/main/resources/application-prod.yml @@ -90,3 +90,11 @@ discord: retrospect-url: ${DISCORD_RETROSPECT_URL} space-url: ${DISCORD_SPACE_URL} member-url: ${DISCORD_MEMBER_URL} + +# actuator +management: + endpoints: + enabled-by-default: false + endpoint: + health: + enabled: true \ No newline at end of file