diff --git a/server/dukang-api/.env.production.example b/server/dukang-api/.env.production.example index 233dd22..ee56f8a 100644 --- a/server/dukang-api/.env.production.example +++ b/server/dukang-api/.env.production.example @@ -4,7 +4,8 @@ NODE_ENV=production -DATABASE_URL="mysql://dukang:CHANGE_ME@localhost:3306/dukang_haoke" +# 生产:阿里云 RDS(密码中的 @ ! 需 URL 编码为 %40 %21) +DATABASE_URL="mysql://dukangadmin:CHANGE_ME@rm-xxxxxxxx.mysql.rds.aliyuncs.com:3306/dukang_prod?charset=utf8mb4" REDIS_URL="redis://localhost:6379" JWT_SECRET="CHANGE_ME-strong-random-secret" JWT_EXPIRES_IN="7d"