- Docker 配置中 Redis/MySQL 地址改为 host.docker.internal - 前端 Docker 环境 API 地址改为 localhost - 添加数据库完整导出文件用于异地部署 - .gitignore 增加 logs 目录排除 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
server:
|
|
port: 8095
|
|
|
|
redis:
|
|
host: host.docker.internal
|
|
port: 6379
|
|
password: kaixinjiuhao
|
|
timeout: 30000
|
|
pool:
|
|
max-total: 200
|
|
max-wait: -1
|
|
max-idle: 8
|
|
min-idle: 1
|
|
timeout: 30000
|
|
|
|
spring:
|
|
datasource:
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
db1:
|
|
url: jdbc:mysql://host.docker.internal:3306/xiaoqu_comples_d?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
|
username: root
|
|
password: kaixinjiuhao
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
db2:
|
|
url: jdbc:mysql://host.docker.internal:3306/xiaoqu_intellectual_d?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
|
username: root
|
|
password: kaixinjiuhao
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
xxl:
|
|
job:
|
|
admin:
|
|
addresses: ""
|
|
executor:
|
|
appname: xiaoqu-intellectual-task
|