-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
93 lines (84 loc) · 1.8 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '3.7'
services:
fast-dev-stack:
container_name: fast-dev
ports:
- 2181:2181
- 3030:3030
- 8081-8083:8081-8083
- 9581-9585:9581-9585
- 9092:9092
image: "lensesio/fast-data-dev:latest"
environment:
ADV_HOST: fast-dev
db:
container_name: postgres
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: root
ports:
- 5432:5432
adminer:
image: adminer
restart: always
ports:
- 8080:8080
redis-service:
container_name: redis
ports:
- 6379:6379
image: "redis:alpine"
haproxy:
image: haproxy:2.1.3
volumes:
- ./haproxy:/haproxy-override
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
links:
- falcon-task-1
- falcon-task-2
- falcon-task-3
ports:
- "80:80"
# for ease of showcase three instances like that to load balance with the HAProxy
falcon-task-1:
container_name: falcon-task-1
image: falcon/falcon-task
restart: always
depends_on:
- fast-dev-stack
- rabbitmq
expose:
- 8090
environment:
SPRING_PROFILES_ACTIVE: prod
falcon-task-2:
container_name: falcon-task-2
image: falcon/falcon-task
restart: always
depends_on:
- fast-dev-stack
- rabbitmq
expose:
- 8090
environment:
SPRING_PROFILES_ACTIVE: prod
falcon-task-3:
container_name: falcon-task-3
image: falcon/falcon-task
restart: always
depends_on:
- fast-dev-stack
- rabbitmq
expose:
- 8090
environment:
SPRING_PROFILES_ACTIVE: prod
rabbitmq:
container_name: rabbitmq-stomp
image: jorgeacetozi/rabbitmq-stomp:3.6
restart: always
ports:
- 5672:5672
- 15672:15672
- 61613:61613