diff --git a/configs/env.production.yaml b/configs/env.production.yaml index c6ee1ec..34059fc 100644 --- a/configs/env.production.yaml +++ b/configs/env.production.yaml @@ -18,9 +18,22 @@ server: # =========================================== # 敏感信息通过外部环境变量注入 database: - password: Pg9mX4kL8nW2rT5y + host: "tyapi-postgres-prod" + port: "5432" + user: "tyapi_user" + password: "Pg9mX4kL8nW2rT5y" name: "tyapi" - + sslmode: "disable" + timezone: "Asia/Shanghai" + max_open_conns: 25 + max_idle_conns: 10 + conn_max_lifetime: 300s + auto_migrate: true +redis: + host: "tyapi-redis-prod" + port: "6379" + password: "" + db: 0 # =========================================== # 📝 日志配置 # ===========================================