Compare commits

..

4 commits

Author SHA1 Message Date
e11a051730 Merge pull request 'dev' (#2) from dev into main
Reviewed-on: #2
2025-02-19 05:36:36 +00:00
Sanjib Kumar Sen
712c4ca029 db port changed 2025-02-19 11:35:37 +06:00
Sanjib Kumar Sen
74f00d4ba5 minio endpoint 2025-02-19 11:35:11 +06:00
Sanjib Kumar Sen
341234dfa2 port changed 2025-02-19 11:34:18 +06:00
2 changed files with 4 additions and 4 deletions

View file

@ -3,8 +3,8 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
# ports: ports:
# - "${SERVER_PORT}:${SERVER_PORT}" - "${SERVER_PORT}:${SERVER_PORT}"
depends_on: depends_on:
db: db:
condition: service_healthy condition: service_healthy

View file

@ -2,9 +2,9 @@ import { Client } from "minio";
import { ENV } from "../config/env"; import { ENV } from "../config/env";
export const minioClient = new Client({ export const minioClient = new Client({
endPoint: ENV.MINIO_ENDPOINT!, endPoint: ENV.MINIO_ENDPOINT!.replace("http://", "").replace("https://", ""),
port: ENV.MINIO_PORT, port: ENV.MINIO_PORT,
useSSL: false, useSSL: false,
accessKey: ENV.MINIO_ACCESS_KEY, accessKey: ENV.MINIO_ACCESS_KEY,
secretKey: ENV.MINIO_SECRET_KEY, secretKey: ENV.MINIO_SECRET_KEY,
}) });