-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
52 lines (47 loc) · 1.08 KB
/
docker-compose.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.8'
services:
irs:
build:
context: .
target: irs-api
args:
BUILD_TARGET: irs-api
profiles:
- irs
container_name: irs
ports:
- "8080:8080"
- "4004:4004"
environment:
MINIO_URL: "http://minio:9000"
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
prometheus:
image: prom/prometheus:v2.30.3
container_name: prometheus
volumes:
- ./dev/prometheus/:/etc/prometheus/
profiles:
- debug
ports:
- "9091:9090"
minio:
image: quay.io/minio/minio:RELEASE.2022-04-01T03-41-39Z
command: server --address 0.0.0.0:9000 --console-address ":9001" /data
ports:
# Bind explicitly to 127.0.0.1
- "127.0.0.1:9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9000/minio/health/live" ]
interval: 30s
timeout: 20s
retries: 3
hostname: minio
volumes:
- miniodata:/data
volumes:
miniodata: