-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
32 lines (29 loc) · 902 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
32 lines (29 loc) · 902 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
30
31
32
#
# [IMPORTANT] `container_name` properties are prefixed by the project name to avoid conflicting with other project volumes
#
services:
minio:
container_name: buc_minio_container_${DOCKER_COMPOSE_CONTAINER_NAME_SUFFIX:-default}
image: minio/minio:RELEASE.2024-10-29T16-01-48Z
command: ['server', '--console-address', ':9001', '/data']
environment:
MINIO_ROOT_USER: ${S3_ACCESS_KEY:-random-key}
MINIO_ROOT_PASSWORD: ${S3_SECRET_KEY:-random-key}
volumes:
- minio:/data
ports:
- '${DOCKER_COMPOSE_MINIO_PORT_BINDING:-9000:9000}'
- '${DOCKER_COMPOSE_MINIO_CONSOLE_PORT_BINDING:-9001:9001}'
networks:
- buc
restart: unless-stopped
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 1s
timeout: 3s
retries: 5
networks:
buc:
driver: bridge
volumes:
minio: