Compare commits

..

No commits in common. "e11a051730a79eca7b7a12f5a1b195ab11c07951" and "b1e8b7a6642eb4699dfa3807cc17e5e04c33da05" have entirely different histories.

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!.replace("http://", "").replace("https://", ""), endPoint: ENV.MINIO_ENDPOINT!,
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,
}); })