Spring Boot Properties - redutan/redutan.github.io GitHub Wiki
feign:
client:
config:
default:
connectionTimeout: 1000
readTimeout: 5000
loggerLevel: basic
some-service-id:
connectionTimeout: 1000
readTimeout: 5000
loggerLevel: basic
hystrix:
enabled: true
hystrix:
command:
default:
execution:
isolation:
strategy: SEMAPHORE
thread:
timeoutInMilliseconds: 6000
someCommand:
execution:
isolation:
strategy: SEMAPHORE
thread:
timeoutInMilliseconds: 60000
logging:
level:
root: warn
com.someservice.api: info
file:
max-history: 100
max-size: 100MB
path: /home/account/some-service/log
management:
endpoints:
health:
show-details: always
web:
base-path: /actuator
exposure:
include: health,info,logfile,httptrace
health:
redis:
enabled: false
elasticsearch:
enabled: false
rabbit:
enabled: false
server:
port: 8081
spring:
cloud:
config:
override-none: true # !!
consul:
discovery:
service-name: ${spring.application.name}-${common.env}
instance-id: ${spring.application.name}-${spring.application.instance-id:${random.value}}
health-check-path: ${management.endpoints.web.base-path}/health
health-check-interval: 5s
data:
elasticsearch:
properties:
client.transport.sniff: false
client.transport.ignore_cluster_name: false
client.transport.ping_timeout: 5s
client.transport.nodes_sampler_interval: 5s
repositories: false
datasource:
hikari:
connection-timeout: 4000
jackson:
serialization:
write-date-timestamps-as-nanoseconds: false
time-zone: Asia/Seoul
jpa:
hibernate:
ddl-auto: validate
naming:
implicit-strategy: ??
physical-strategy: ??
open-in-view: false
rabbitmq:
addresses: 1.1.1.1:5672, 2.2.2.2:5672
username: ididididid
password: pwpwpwpwpw
servlet:
multipart:
file-size-threshold: 110MB
location: /home/account/some-service/tmp # !!
max-file-size: 100MB
max-request-size: 110MB