From 8364048053d71541e8cd037854b57c7e7c526745 Mon Sep 17 00:00:00 2001 From: Rogee Date: Tue, 7 Jul 2026 17:21:41 +0800 Subject: [PATCH] ok --- backend/configs/config.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/backend/configs/config.yaml b/backend/configs/config.yaml index 05c82139..b0cee46c 100644 --- a/backend/configs/config.yaml +++ b/backend/configs/config.yaml @@ -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