Add option to skip storage bucket check & creation in storage service

This commit is contained in:
Miguel Medina
2023-12-03 19:59:01 -06:00
parent 63697f97cb
commit b8c5aafa1d
2 changed files with 12 additions and 0 deletions

View File

@ -39,6 +39,10 @@ export const configSchema = z.object({
.string()
.default("false")
.transform((s) => s !== "false" && s !== "0"),
STORAGE_SKIP_CREATE_BUCKET: z
.string()
.default("false")
.transform((s) => s !== "false" && s !== "0"),
// Redis
REDIS_URL: z.string().url().startsWith("redis://").optional(),