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