-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (67 loc) · 1.29 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: '3.7'
services:
ingestor:
image: diouze/log-ingestor
ports:
- 8080
environment:
- SERVICE_PORTS=8080
deploy:
replicas: 6
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
max_attempts: 3
window: 120s
networks:
- log-network
volumes:
- ./data/ingestor:/data
consolidator:
image: diouze/log-consolidator
depends_on:
- ingestor
- minio
ports:
- 3333:8080
deploy:
restart_policy:
condition: on-failure
max_attempts: 3
window: 120s
networks:
- log-network
volumes:
- ./data/consolidator:/data
proxy:
image: dockercloud/haproxy
depends_on:
- ingestor
environment:
- BALANCE=roundrobin
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 80:80
networks:
- log-network
deploy:
placement:
constraints: [node.role == manager]
minio:
image: minio/minio
networks:
- log-network
ports:
- "9001:9000"
command: server /data
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
volumes:
- ./data/minio:/data
networks:
log-network:
driver: overlay