A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
fix: add env var STORAGE_USE_SSL to toggle on/off SSL mode in MinIO Client, closes #1561
Amruth Pillaif6ad346f9b2e
diff --git a/.env.example b/.env.exampleindex ec3f4279c..d91824f3b 100644--- a/.env.example+++ b/.env.example@@ -51,6 +51,7 @@ STORAGE_REGION=us-east-1STORAGE_BUCKET=defaultSTORAGE_ACCESS_KEY=minioadminSTORAGE_SECRET_KEY=minioadmin+STORAGE_USE_SSL=false# Redis (for cache & server session management)REDIS_URL=redis://default:password@localhost:6379diff --git a/apps/server/src/config/schema.ts b/apps/server/src/config/schema.tsindex eaedd45b9..b509d7f87 100644--- a/apps/server/src/config/schema.ts+++ b/apps/server/src/config/schema.ts@@ -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),// RedisREDIS_URL: z.string().url().startsWith("redis://").optional(),diff --git a/apps/server/src/storage/storage.module.ts b/apps/server/src/storage/storage.module.tsindex 5e705c0ce..a96ce8991 100644--- a/apps/server/src/storage/storage.module.ts+++ b/apps/server/src/storage/storage.module.ts@@ -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"),}),}),],diff --git a/tools/compose/nginx-proxy-manager.yml b/tools/compose/nginx-proxy-manager.ymlindex def0705c7..61b31523f 100644--- a/tools/compose/nginx-proxy-manager.yml+++ b/tools/compose/nginx-proxy-manager.yml@@ -93,6 +93,7 @@ services:STORAGE_BUCKET: defaultSTORAGE_ACCESS_KEY: minioadminSTORAGE_SECRET_KEY: minioadmin+ STORAGE_USE_SSL: false# -- Cache (Redis) --REDIS_URL: redis://default:password@redis:6379diff --git a/tools/compose/simple.yml b/tools/compose/simple.ymlindex f796dde1b..a2195d937 100644--- a/tools/compose/simple.yml+++ b/tools/compose/simple.yml@@ -90,6 +90,7 @@ services:STORAGE_BUCKET: defaultSTORAGE_ACCESS_KEY: minioadminSTORAGE_SECRET_KEY: minioadmin+ STORAGE_USE_SSL: false# -- Cache (Redis) --REDIS_URL: redis://default:password@redis:6379diff --git a/tools/compose/swarm.yml b/tools/compose/swarm.ymlindex b790d7c6b..e1ce987bb 100644--- a/tools/compose/swarm.yml+++ b/tools/compose/swarm.yml@@ -114,6 +114,7 @@ services:STORAGE_BUCKET: defaultSTORAGE_ACCESS_KEY: minioadminSTORAGE_SECRET_KEY: minioadmin+ STORAGE_USE_SSL: false# -- Cache (Redis) --REDIS_URL: redis://default:password@redis:6379diff --git a/tools/compose/traefik-secure.yml b/tools/compose/traefik-secure.ymlindex 81ecbb7a1..cab153b2b 100644--- a/tools/compose/traefik-secure.yml+++ b/tools/compose/traefik-secure.yml@@ -101,6 +101,7 @@ services:STORAGE_BUCKET: defaultSTORAGE_ACCESS_KEY: minioadminSTORAGE_SECRET_KEY: minioadmin+ STORAGE_USE_SSL: false# -- Cache (Redis) --REDIS_URL: redis://default:password@redis:6379diff --git a/tools/compose/traefik.yml b/tools/compose/traefik.ymlindex d1b01d342..12dc7a6bc 100644--- a/tools/compose/traefik.yml+++ b/tools/compose/traefik.yml@@ -95,6 +95,7 @@ services:STORAGE_BUCKET: defaultSTORAGE_ACCESS_KEY: minioadminSTORAGE_SECRET_KEY: minioadmin+ STORAGE_USE_SSL: false# -- Cache (Redis) --REDIS_URL: redis://default:password@redis:6379