Files
egovframe-msa-edu/config/application.yml
2021-10-20 17:12:00 +09:00

37 lines
1.0 KiB
YAML

# 2시간(7,200,000), 1일(86,400,000) jwt token
token:
expiration_time: 7200000
refresh_time: 86400000
secret: 'token_secret'
eureka:
instance:
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}} # random port 사용시 eureka server에 인스턴스가 각각 표시되지 않는다
client:
register-with-eureka: true # eureka 서버에 등록
fetch-registry: true # 외부 검색 가능
service-url:
defaultZone: http://admin:admin@localhost:8761/eureka
# file attach location - messages{lang}.properties 도 이 경로에 위치한다.
file:
directory: ${user.home}/msa-attach-volume # url 사용시에는 사용되지 않는다
url: http://localhost:8080 # nginx 로 파일 다운로드 처리
messages:
directory: ${file.directory}/messages
logstash:
url: localhost:8086
apigateway:
host: http://localhost:${server.port}
# rabbitmq server
spring:
rabbitmq:
host: localhost
port: 5672
username: guest
password: guest
zipkin:
base-url: http://localhost:8085