-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathdocker-compose.runtime.yml
More file actions
106 lines (98 loc) · 2.32 KB
/
Copy pathdocker-compose.runtime.yml
File metadata and controls
106 lines (98 loc) · 2.32 KB
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
105
106
services:
api:
restart: always
environment:
PORT: 3000
GITHUB_PAT: ${GITHUB_PAT}
env_file:
- .env.sandbox.docker-compose-dev
- path: ../../.env.local
required: false
ports:
- "3080:3000"
- "3081:3001" # background jobs server
tx-signer:
restart: always
environment:
PORT: 3000
env_file:
- .env.sandbox.docker-compose-dev
- path: ../../.env.local
required: false
ports:
- "3091:3000"
notifications:
restart: always
environment:
PORT: 3000
env_file:
- .env.sandbox.docker-compose-dev
- path: ../../.env.local
required: false
ports:
- '3090:3000'
indexer:
restart: always
env_file:
- .env.sandbox.docker-compose-dev
- path: ../../.env.local
required: false
provider-inventory:
restart: always
environment:
PORT: 3000
# see comment for details https://github.com/nodejs/node/issues/22468#issuecomment-416795256
# usually it's recommended to set this variable to number of CPU cores,
# but in case of provider inventory we can have a lot of idle time while waiting for messages from providers, so we can benefit from having more threads in the pool
UV_THREADPOOL_SIZE: 64
env_file:
- .env.sandbox.docker-compose-dev
- path: ../../.env.local
required: false
ports:
- '3092:3000'
deploy:
replicas: 1
provider-proxy:
restart: always
environment:
PORT: 3000
env_file:
- .env.sandbox.docker-compose-dev
- path: ../../.env.local
required: false
ports:
- '3040:3000'
deploy-web:
restart: always
environment:
API_HOST: api
env_file:
- .env.sandbox.docker-compose-dev
- path: ../../.env.local
required: false
ports:
- '3000:3000'
depends_on:
- api
- notifications
- provider-proxy
stats-web:
restart: always
env_file:
- .env.sandbox.docker-compose-dev
- path: ../../.env.local
required: false
ports:
- '3001:3000'
depends_on:
- api
- provider-proxy
provider-console:
restart: always
env_file:
- .env.sandbox.docker-compose-dev
- path: ../../.env.local
required: false
ports:
- '3003:3000'