Files
2025-09-17 11:02:11 +09:00

44 lines
1.5 KiB
YAML

# 2시간(7,200,000), 1일(86,400,000) jwt token
token:
expiration_time: 7200000
refresh_time: 86400000
secret: '69da8b5bb11e2f5274e775bfc70a267ffd09ceb14dd71eeb4014e15021e62b8cb2ebdea0f02d1849ebbe0368512d0decc10f99fa3709f01c1b55f5e2dfcd8ebd'
#db:
# hostname: 192.168.0.102
# Password Encoder Configuration
password:
encoder:
salt: "IIPBS!@#$SecureSalt"
eureka:
instance:
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}} # random port 사용시 eureka server에 인스턴스가 각각 표시되지 않는다
preferIpAddress: true # 서비스간 통신 시 hostname 보다 ip 를 우선
client:
register-with-eureka: true # eureka 서버에 등록
fetch-registry: true # 외부 검색 가능
service-url:
defaultZone: http://admin:admin@${eureka.instance.hostname:localhost}:8761/eureka
# file attach location - messages{lang}.properties 도 이 경로에 위치한다.
file:
directory: ${app.home:${user.home}}/msa-attach-volume # url 사용시에는 사용되지 않는다
url: http://${file.hostname:localhost}:8080 # nginx 로 파일 다운로드 처리
messages:
directory: ${file.directory}/messages
apigateway:
host: http://${apigateway.hostname:localhost}:${server.port}
# rabbitmq server
spring:
rabbitmq:
host: ${rabbitmq.hostname:localhost}
port: 5672
username: guest
password: guest
zipkin:
base-url: http://${zipkin.hostname:localhost}:${zipkin.port:9411}
egov:
message: hello