create post completed

This commit is contained in:
libertyoms
2025-04-21 20:59:37 +02:00
parent 629da1b7e7
commit a8c6b5297b
21 changed files with 1973 additions and 37 deletions

11
lib/minio.ts Normal file
View File

@ -0,0 +1,11 @@
import { Client } from "minio";
export const minioClient = new Client({
endPoint: process.env.MINIO_ENDPOINT || "localhost",
port: process.env.MINIO_PORT ? parseInt(process.env.MINIO_PORT) : 9000,
useSSL: true,
accessKey: process.env.MINIO_ACCESS_KEY,
secretKey: process.env.MINIO_SECRET_KEY,
});
export const bucketName = process.env.MINIO_BUCKET || "oms-website";