forked from mendersoftware/integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.storage.minio.yml
38 lines (35 loc) · 1.05 KB
/
docker-compose.storage.minio.yml
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
33
34
35
36
37
38
version: '2.3'
services:
#
# minio
#
minio:
# DO NOT upgrade this to any version "2021.05" or later.
# We want to stay on Apache license for now.
image: minio/minio:RELEASE.2021-04-22T15-44-28Z
restart: on-failure
networks:
mender:
aliases:
- minio.s3.docker.mender.io
environment:
MINIO_HTTP_TRACE: /dev/stdout
command: server /export
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 60s
timeout: 5s
retries: 2
start_period: 10s
mender-api-gateway:
environment:
STORAGE_URL: ${STORAGE_URL:-s3.docker.mender.io}
volumes:
- ./config/traefik/traefik.minio.yaml:/etc/traefik/config/traefik.minio.yaml:ro
#
# mender-deployments depends on minio if minio is in use
#
mender-deployments:
depends_on:
minio:
condition: service_healthy