refactor: 修改配置文件

This commit is contained in:
2025-03-08 17:46:36 +08:00
parent 36c8fb6980
commit a6737a8565
4 changed files with 301 additions and 207 deletions

View File

@@ -1 +1 @@
DATABASE_URL="postgresql://postgres:ultimate@81.70.149.52:8000/nestjs-admin?schema=public" DATABASE_URL="postgresql://postgres:ultimateanswer@ua42.com:8022/ua42?schema=public"

View File

@@ -5,17 +5,17 @@ export default () => ({
redisExpiresIn: 7 * 60 * 60 * 24 * 1000, redisExpiresIn: 7 * 60 * 60 * 24 * 1000,
}, },
redis: { redis: {
host: '81.70.149.52', host: 'ua42.com',
port: 8002, port: 8023,
// 默认过期时间 5s // 默认过期时间 5s
ttl: 5000, ttl: 5000,
}, },
minio: { minio: {
endPoint: 's3.ulti42.com', endPoint: 's3.ua42.com',
port: 443, port: 443,
useSSL: true, useSSL: true,
accessKey: 'vjr5fW3Rk6W0WydqOpCt', accessKey: 'TONrgmO5T1QxACqRHKbf',
secretKey: '3sNkhS5zVf9tTXb3doSN2iJ3NO6WG8alJPoj1Pzd', secretKey: '8CqhNHhMuvpDq1aPeJTSckRsPT4nXh5yqv0TbuTN',
bucketName: 'static', bucketName: 'static',
}, },
server: { server: {

File diff suppressed because it is too large Load Diff