mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
11 lines
427 B
TypeScript
11 lines
427 B
TypeScript
import { registerAs } from "@nestjs/config";
|
|
|
|
export const minioConfig = registerAs("minio", () => ({
|
|
endPoint: process.env.MINIO_ENDPOINT || "minio-dev.smart.aaca.gov.et",
|
|
port: parseInt(process.env.MINIO_PORT || "443", 10),
|
|
useSSL: process.env.MINIO_USE_SSL !== "false",
|
|
accessKey: process.env.MINIO_ACCESS_KEY || "",
|
|
secretKey: process.env.MINIO_SECRET_KEY || "",
|
|
bucket: process.env.MINIO_BUCKET || "fhc",
|
|
}));
|