Compare commits
	
		
			4 commits
		
	
	
		
			b1e8b7a664
			...
			e11a051730
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e11a051730 | |||
|   | 712c4ca029 | ||
|   | 74f00d4ba5 | ||
|   | 341234dfa2 | 
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -3,8 +3,8 @@ services: | |||
|     build: | ||||
|       context: . | ||||
|       dockerfile: Dockerfile | ||||
|     # ports: | ||||
|     #   - "${SERVER_PORT}:${SERVER_PORT}" | ||||
|     ports: | ||||
|       - "${SERVER_PORT}:${SERVER_PORT}" | ||||
|     depends_on: | ||||
|       db: | ||||
|         condition: service_healthy | ||||
|  |  | |||
|  | @ -2,9 +2,9 @@ import { Client } from "minio"; | |||
| import { ENV } from "../config/env"; | ||||
| 
 | ||||
| export const minioClient = new Client({ | ||||
|   endPoint: ENV.MINIO_ENDPOINT!, | ||||
|   endPoint: ENV.MINIO_ENDPOINT!.replace("http://", "").replace("https://", ""), | ||||
|   port: ENV.MINIO_PORT, | ||||
|   useSSL: false, | ||||
|   accessKey: ENV.MINIO_ACCESS_KEY, | ||||
|   secretKey: ENV.MINIO_SECRET_KEY, | ||||
| }) | ||||
| }); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue