| | |
| | | # 数据源配置 |
| | | # 开发环境配置 |
| | | server: |
| | | # profiles: |
| | | # active: local |
| | | # 服务器的HTTP端口,默认为8090 |
| | | port: 8091 |
| | | tomcat: |
| | |
| | | min-spare: 100 |
| | | # 日志配置 |
| | | logging: |
| | | file: |
| | | encoding: UTF-8 |
| | | level: |
| | | com.ruoyi: debug |
| | | org.springframework: warn |
| | |
| | | host: localhost |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # port: 6380 |
| | | # 数据库索引 |
| | | database: 0 |
| | | # 密码 |
| | |
| | | datasource: |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://127.0.0.1:3306/zyqsstock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # url: jdbc:mysql://127.0.0.1:3306/cgstock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: 123456 |
| | | url: jdbc:mysql://127.0.0.1:3306/stock_us?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # url: jdbc:mysql://127.0.0.1:6306us?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # url: jdbc:mysql://127.0.0.1:3306/trading_order_1024?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: stock_us |
| | | password: M6bWfxCCGfXmf8Ly |
| | | # username: root |
| | | # password: 123456 |
| | | druid: |
| | | # 初始连接数 |
| | | initialSize: 5 |