From f866530d6cb0e7dc970e83d1cf40890f2b5a5668 Mon Sep 17 00:00:00 2001 From: kimjaeyeol Date: Thu, 21 Oct 2021 10:03:58 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=EC=95=94=ED=98=B8=ED=99=94=20?= =?UTF-8?q?=EB=8C=80=EC=B9=AD=ED=82=A4=20=EC=84=A4=EC=A0=95=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/config/Dockerfile | 2 +- backend/config/src/main/resources/application.yml | 2 +- backend/config/src/main/resources/bootstrap.yml | 10 ++-------- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/backend/config/Dockerfile b/backend/config/Dockerfile index 4a98744..2fc2036 100644 --- a/backend/config/Dockerfile +++ b/backend/config/Dockerfile @@ -1,4 +1,4 @@ -# docker run --name egov-config -d -p 8888:8888 -e profile=prod -e ENCRYPT_KEY=??? jaeyeolkim/egov-config +# docker run --name egov-config -d -p 8888:8888 -e profile=prod -e ENCRYPT_KEY=??? egovframework/egov-config # base image - openjdk8 FROM openjdk:8-jre-alpine # jar 파일이 복사되는 위치 diff --git a/backend/config/src/main/resources/application.yml b/backend/config/src/main/resources/application.yml index d493d6b..05132be 100644 --- a/backend/config/src/main/resources/application.yml +++ b/backend/config/src/main/resources/application.yml @@ -5,7 +5,7 @@ spring: application: name: config-service profiles: - active: native # native file repository + active: native,default # native file repository cloud: config: server: diff --git a/backend/config/src/main/resources/bootstrap.yml b/backend/config/src/main/resources/bootstrap.yml index aa350be..250aee9 100644 --- a/backend/config/src/main/resources/bootstrap.yml +++ b/backend/config/src/main/resources/bootstrap.yml @@ -1,8 +1,2 @@ -spring: - cloud: - config: - uri: http://localhost:8888 - name: portal-service # portal-service.yml이 있으면 불러오게 된다 -# name: config-service # config-service의 application.yml 을 불러오게 된다 -# profiles: -# active: prod # application-prod.yml \ No newline at end of file +encrypt: + key: egovframe # 대칭키 임의의 값 \ No newline at end of file