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"