-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
104 lines (99 loc) · 2.4 KB
/
docker-compose.yaml
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
94
95
96
97
98
99
100
101
102
103
104
version: '3.9'
services:
upipe:
image: exordelabs/upipe:latest
networks:
- exorde-network
ports:
- "7998:8000"
labels:
- "network.exorde.monitor=true"
- "network.exorde.service=upipe"
restart: always
environment:
- TRACE=${TRACE:-false}
- TIMEOUT=${UPIPE_PROCESSING_TIMEOUT:-8}
init: true
deploy:
replicas: ${UPIPE_SIZE:-1}
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8000/ || exit 1"]
interval: 5s
timeout: 1s
retries: 10
start_period: 180s
bpipe:
image: exordelabs/bpipe:latest
networks:
- exorde-network
ports:
- "7999:8000"
labels:
- "network.exorde.monitor=true"
- "network.exorde.service=bpipe"
restart: always
environment:
- batch_size=20
- TRACE=${TRACE:-false}
init: true
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8000/ || exit 1"]
interval: 5s
timeout: 1s
retries: 10
start_period: 180s
deploy:
replicas: ${BPIPE_SIZE:-1}
resources:
limits:
memory: 6G
reservations:
memory: 6G
transactioneer:
image: exordelabs/transactioneer:latest
networks:
- exorde-network
labels:
- "network.exorde.monitor=true"
- "network.exorde.service=transactioneer"
volumes:
- ./config:/root/.config
restart: always
ports:
- "7991:8000"
environment:
- main_address=${MAIN_ADDRESS}
- TRACE=${TRACE:-false}
init: true
working_dir: /app/
command: python3.10 /app/transactioneer.py
deploy:
replicas: ${TRANSACTIONEER_SIZE:-1}
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8000/ || exit 1"]
interval: 5s
timeout: 1s
retries: 10
start_period: 180s
orchestrator:
image: exordelabs/orchestrator:alpha
labels:
- "network.exorde.monitor=true"
- "network.exorde.service=orchestrator"
networks:
- exorde-network
restart: always
environment:
- PROMETHEUS_TARGET_DISCOVERY_LABEL=network.exorde.monitor:true
- SPOTTERS_AMOUNT=${SPOTTERS_AMOUNT:-0}
- SPOTTERS_TIME_WINDOW=3600
- TRACE=${TRACE:-false}
init: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "8777:8000"
networks:
exorde-network:
name: exorde-network
driver: bridge