-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.cluster.yml
75 lines (69 loc) · 1.54 KB
/
docker-compose.cluster.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
version: "3.3"
services:
amqp:
image: rabbitmq
environment:
- RABBITMQ_PASSWORD=guest
- RABBITMQ_USERNAME=guest
# logging:
# driver: "none"
ports:
- '5672:5672'
redis:
image: redis
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- '6379:6379'
# logging:
# driver: "none"
order-tracker:
build:
context: .
dockerfile: Dockerfile
command: ./services/order-tracker/binance-order-tracker.ts --live=false
restart: never
environment:
- AMQP_HOST=amqp
- AMQP_USER=guest
- AMQP_PASSWORD=guest
- AMQP_EXCHANGE=test
- AMQP_PROTOCOL=amqp
- AMQP_VHOST=/
- REDIS_HOST=redis
depends_on:
- redis
- amqp
# price-monitor:
# build:
# context: .
# dockerfile: Dockerfile
# command: ./services/price-monitor.ts --live=false
# restart: on-failure
# environment:
# - AMQP_HOST=amqp
# - AMQP_USER=guest
# - AMQP_PASSWORD=guest
# - AMQP_EXCHANGE=test
# - AMQP_VHOST=/
# - AMQP_PROTOCOL=amqp
# - REDIS_HOST=redis
# depends_on:
# - redis
# - amqp
# redis-monitor:
# build:
# context: .
# dockerfile: Dockerfile
# command: ./services/redis-monitor.ts
# restart: on-failure
# environment:
# - AMQP_HOST=amqp
# - AMQP_USER=guest
# - AMQP_PASSWORD=guest
# - AMQP_EXCHANGE=test
# - AMQP_VHOST=/
# - AMQP_PROTOCOL=amqp
# - REDIS_HOST=redis
# depends_on:
# - redis