Xia Kaixiang | 0e37c14 | 2019-07-11 18:14:34 +0800 | [diff] [blame] | 1 | #######################################springboot配置 start################################# |
| 2 | #spring.application.name=supwisdom.ynrcc.agent |
| 3 | #spring.cloud.consul.discovery.health-check-path=${management.context-path}/api/common/version |
| 4 | #spring.cloud.consul.discovery.health-check-interval=10s |
| 5 | #spring.cloud.consul.discovery.instanceId=${spring.application.name}:${spring.application.instance_id:${random.value}} |
| 6 | ##################### 单库数据库配置 ############################## |
| 7 | #spring.jpa.show-sql=true |
| 8 | #s#pring.datasource.hikari.connection-timeout=60000 |
| 9 | #spring.datasource.hikari.maximum-pool-size=5 |
| 10 | #spring.jpa.hibernate.ddl-auto=update |
| 11 | ##################### redis ############################## |
| 12 | #spring.redis.host=172.28.201.101 |
| 13 | #spring.redis.port=16379 |
| 14 | #spring.redis.password=kingstar |
| 15 | #spring.redis.database=0 |
| 16 | |
| 17 | # logging |
| 18 | logging.pattern.console=%d{yyyy-MM-dd HH:mm:ss} %-5level %logger{36} - %msg%n |
| 19 | logging.level.org.hibernate.SQL=debug |
| 20 | #################### JSP PAGE #################### |
| 21 | server.servlet.context-path=/ynrccagent |
| 22 | ################## 全局字符编码设置 ###################### |
| 23 | spring.http.encoding.force=true |
| 24 | spring.http.encoding.charset=UTF-8 |
| 25 | spring.http.encoding.enabled=true |
| 26 | server.tomcat.uri-encoding=UTF-8 |
| 27 | ################################################## |
| 28 | ## quartz task scheduler |
| 29 | #dayend.settletask.cron = 0 0/2 * * * ? |
| 30 | |
| 31 | ############# YNRCC SOCKET ############### |
| 32 | ynrcc.socket.ip=127.0.0.1 |
| 33 | ynrcc.socket.port=8089 |
| 34 | ## 超时时间(分钟) |
| 35 | ynrcc.socket.timeout = 10 |
| 36 | ynrcc.md5.key=80816b7947ed016bff8079557735006e |