김재형

Setup minio in docker

...@@ -10,3 +10,14 @@ services: ...@@ -10,3 +10,14 @@ services:
10 - "35432:5432" 10 - "35432:5432"
11 volumes: 11 volumes:
12 - ./docker/postgres:/var/lib/postgresql/data/ 12 - ./docker/postgres:/var/lib/postgresql/data/
13 + minio:
14 + image: "minio/minio"
15 + entrypoint: sh
16 + command: -c "mkdir -p /data/bucket && /usr/bin/minio server /data"
17 + environment:
18 + - MINIO_ACCESS_KEY=access_key
19 + - MINIO_SECRET_KEY=secret_key
20 + ports:
21 + - "39000:9000"
22 + volumes:
23 + - ./docker/minio:/data
...\ No newline at end of file ...\ No newline at end of file
......