🔧 암호화 대칭키 설정 추가

This commit is contained in:
kimjaeyeol
2021-10-21 10:03:58 +09:00
parent eee81581a8
commit f866530d6c
3 changed files with 4 additions and 10 deletions

View File

@@ -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 # base image - openjdk8
FROM openjdk:8-jre-alpine FROM openjdk:8-jre-alpine
# jar 파일이 복사되는 위치 # jar 파일이 복사되는 위치

View File

@@ -5,7 +5,7 @@ spring:
application: application:
name: config-service name: config-service
profiles: profiles:
active: native # native file repository active: native,default # native file repository
cloud: cloud:
config: config:
server: server:

View File

@@ -1,8 +1,2 @@
spring: encrypt:
cloud: key: egovframe # 대칭키 임의의 값
config:
uri: http://localhost:8888
name: portal-service # portal-service.yml이 있으면 불러오게 된다
# name: config-service # config-service의 application.yml 을 불러오게 된다
# profiles:
# active: prod # application-prod.yml