Skip to content

Commit 2683cdd

Browse files
committed
Minio mounted contaienr example
1 parent e718c44 commit 2683cdd

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

docker-compose.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,13 @@ services:
163163
hostname: minio4
164164
volumes:
165165
- data4:/data
166-
166+
167167
minio-nginx:
168168
image: nginx:1.19.2-alpine
169169
restart: unless-stopped
170170
hostname: nginx
171+
ports:
172+
- "9000:9000"
171173
networks:
172174
- clowder2
173175
volumes:
@@ -178,6 +180,25 @@ services:
178180
- minio3
179181
- minio4
180182

183+
minio-mounted:
184+
build: extractors-core/minio-mounted
185+
networks:
186+
- clowder2
187+
restart: unless-stopped
188+
environment:
189+
MINIO_ENDPOINT: minio-nginx:9000
190+
MINIO_ACCESS_KEY: minioadmin
191+
MINIO_SECRET_KEY: minioadmin
192+
privileged: true
193+
devices:
194+
- /dev/fuse:/dev/fuse
195+
cap_add:
196+
- SYS_ADMIN
197+
security_opt:
198+
- apparmor:unconfined
199+
depends_on:
200+
- minio-nginx
201+
181202
postgres:
182203
image: postgres
183204
restart: unless-stopped

0 commit comments

Comments
 (0)