123456789101112131415161718192021222324252627 |
- server.port=49003
- spring.application.name=config-server
- # eureka
- eureka.instance.hostname=config-server
- eureka.instance.prefer-ip-address=true
- eureka.client.service-url.defaultZone=http://112.74.63.148:49001/eureka/
- #eureka.instance.instance-id=${eureka.instance.hostname}:${server.port}
- #eureka.instance.ip-address=112.74.63.148
- # config
- spring.profiles.active=jdbc
- spring.cloud.config.server.jdbc.sql=SELECT config_key as `KEY`, config_value as `VALUE` from sys_properties where (APPLICATION=? or application='application-default') and (PROFILE=? or PROFILE='default') and LABEL=? and status='1'
- spring.datasource.url=jdbc:mysql://rm-wz995mu26a1479kz0so.mysql.rds.aliyuncs.com:3306/szwl
- spring.datasource.username=root
- spring.datasource.password=sunzee@020
- spring.datasource.driver-class-name=com.mysql.jdbc.Driver
- #Log levels (TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF)
- logging.level.root=INFO
- logging.level.org.springframework=INFO
- logging.level.org.springframework.web=INFO
- logging.level.org.mybatis=DEBUG
- logging.level.com.shawn=TRACE
- # File output
- logging.file.max-size=100MB
- logging.file.max-history=30
- logging.file.name=/app/applogs/${spring.application.name}/${spring.application.name}.log
|