-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
29 lines (28 loc) · 850 Bytes
/
Copy pathcompose.yml
File metadata and controls
29 lines (28 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
services:
minio:
image: minio/minio:RELEASE.2025-07-23T15-54-02Z
container_name: minio
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
ports:
- "9000:9000"
- "9001:9001"
command: [ "server", "--address", "0.0.0.0:9000", "--console-address", "0.0.0.0:9001", "/tmp/minio-data" ]
healthcheck:
test: [ "CMD", "curl", "--fail", "http://localhost:9000/minio/health/live" ]
interval: 5s
timeout: 3s
retries: 5
mc:
image: minio/mc
container_name: minio-mc
depends_on:
minio:
condition: service_healthy
entrypoint: >
/bin/sh -c "
until (/usr/bin/mc alias set minio http://minio:9000 minioadmin minioadmin) do echo '...waiting...' && sleep 1; done;
/usr/bin/mc mb minio/fluss;
tail -f /dev/null
"