mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 00:03:27 +10:00
fix: add env var STORAGE_USE_SSL to toggle on/off SSL mode in MinIO Client, closes #1561
This commit is contained in:
@ -35,6 +35,7 @@ export const configSchema = z.object({
|
||||
STORAGE_BUCKET: z.string(),
|
||||
STORAGE_ACCESS_KEY: z.string(),
|
||||
STORAGE_SECRET_KEY: z.string(),
|
||||
STORAGE_USE_SSL: z.coerce.boolean().default(false),
|
||||
|
||||
// Redis
|
||||
REDIS_URL: z.string().url().startsWith("redis://").optional(),
|
||||
|
||||
@ -17,6 +17,7 @@ import { StorageService } from "./storage.service";
|
||||
region: configService.get<string>("STORAGE_REGION"),
|
||||
accessKey: configService.getOrThrow<string>("STORAGE_ACCESS_KEY"),
|
||||
secretKey: configService.getOrThrow<string>("STORAGE_SECRET_KEY"),
|
||||
useSSL: configService.getOrThrow<boolean>("STORAGE_USE_SSL"),
|
||||
}),
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user