This commit is contained in:
2026-07-07 17:21:41 +08:00
parent 4d167c3331
commit 8364048053
+8 -6
View File
@@ -15,21 +15,23 @@ server:
database:
host: "localhost"
port: 5432
user: "gochat"
password: "gochat_dev"
port: 5444
user: "postgres"
password: "xiha02"
name: "gochat_dev"
dbname: "gochat_dev"
sslmode: "disable"
max_idle_conns: 10
max_open_conns: 100
conn_max_lifetime: 3600 # seconds
run_migrations: false # set to true to auto-run migrations on startup
run_migrations: true # auto-run migrations on startup (dev convenience)
migrations_path: "migrations"
redis:
url: "redis://:xiha02@localhost:6397/0"
host: "localhost"
port: 6379
password: ""
port: 6397
password: "xiha02"
db: 0
pool_size: 50