🔧 암호화 대칭키 설정 추가
This commit is contained in:
@@ -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 파일이 복사되는 위치
|
||||
|
||||
@@ -5,7 +5,7 @@ spring:
|
||||
application:
|
||||
name: config-service
|
||||
profiles:
|
||||
active: native # native file repository
|
||||
active: native,default # native file repository
|
||||
cloud:
|
||||
config:
|
||||
server:
|
||||
|
||||
@@ -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
|
||||
encrypt:
|
||||
key: egovframe # 대칭키 임의의 값
|
||||
Reference in New Issue
Block a user