v1.1.0: Alpine 轻量级 Docker 开发环境 + 敏感凭证清理
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# mysql-proxy 连接配置模板
|
||||
# 用法:复制为 mysql-proxy.toml 后填入真实值(mysql-proxy.toml 已在 .gitignore,不入库)
|
||||
# 真实密码/IP 请勿提交,参见 docs/03-运维/开发环境搭建手册.md
|
||||
|
||||
[server]
|
||||
port = 3307
|
||||
host = "0.0.0.0"
|
||||
|
||||
[pool]
|
||||
default_max_connections = 5
|
||||
idle_timeout_secs = 300
|
||||
check_interval_secs = 60
|
||||
|
||||
[[connections]]
|
||||
name = "flux_dev"
|
||||
host = "<TEST_DB_HOST>"
|
||||
port = 3306
|
||||
user = "root"
|
||||
password = "<TEST_DB_PASSWORD>"
|
||||
database = "flux_dev"
|
||||
|
||||
[[connections]]
|
||||
name = "flux_prox"
|
||||
host = "<PROD_DB_HOST>"
|
||||
port = 3306
|
||||
user = "root"
|
||||
password = "<PROD_DB_PASSWORD>"
|
||||
database = "flux_prox"
|
||||
max_connections = 10
|
||||
Reference in New Issue
Block a user