This commit is contained in:
duyu 2024-07-15 17:38:50 +08:00
parent 97243ded8e
commit 916c259870
1 changed files with 5 additions and 5 deletions

10
.env
View File

@ -22,10 +22,10 @@ Charset = "utf8mb4"
ConnectTimeout = 3 # second
[Db.Master]
Host = "127.0.0.1"
Host = "mysql8"
Port = 3306
User = "root"
Password = "66688866"
Password = "Lsxd#123@5"
DBName = "auto_monitor"
[[Db.Slaves]] # 支持多个从库
@ -43,10 +43,10 @@ Port = 8999
Driver = "redis"
[Redis.Master]
Host = "127.0.0.1"
Host = "redis"
Port = 6379
#Password = ""
#DB = 0
Password = "Qwert123.lsxd"
DB = 0
#[Redis.Option]
#MaxIdle = 64