Initial commit
This commit is contained in:
36
config/application.yml
Normal file
36
config/application.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user