fix: standardize MinIO bucket name to hristudio-data

- Update docker-compose to create hristudio-data bucket instead of hristudio
- Fix files.ts, storage.ts, trials.ts, lib/storage/minio.ts to use consistent bucket name
- All now default to hristudio-data matching compose bucket creation
This commit is contained in:
2026-03-22 17:57:34 -04:00
parent ecf0ab9103
commit 0827a791c6
3 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ const minioClient = new Minio.Client({
secretKey: env.MINIO_SECRET_KEY ?? "minioadmin",
});
const BUCKET_NAME = env.MINIO_BUCKET_NAME ?? "hristudio-assets";
const BUCKET_NAME = env.MINIO_BUCKET_NAME ?? "hristudio";
// Ensure bucket exists on startup (best effort)
const ensureBucket = async () => {