Spaces:
Running
Running
File size: 1,058 Bytes
dc510b0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | spring:
application:
name: erp-system
data:
mongodb:
uri: mongodb://${MONGODB_USERNAME:erpuser}:${MONGODB_PASSWORD:erppass}@${MONGODB_HOST:mongodb}:${MONGODB_PORT:27017}/${MONGODB_DATABASE:erp_datasource}?authSource=admin
database: ${MONGODB_DATABASE:erp_datasource}
auto-index-creation: true
redis:
host: ${REDIS_HOST:redis}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:redispass}
timeout: 2000ms
lettuce:
pool:
max-active: 8
max-idle: 8
min-idle: 0
server:
port: ${SERVER_PORT:7860}
management:
endpoints:
web:
exposure:
include: health,info,metrics,env
endpoint:
health:
show-details: always
health:
redis:
enabled: true
db:
enabled: true
logging:
level:
com.erp: INFO
org.springframework.data: INFO
org.hibernate.SQL: WARN
com.zaxxer.hikari: WARN
org.mongodb.driver: INFO
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
|