-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
152 lines (141 loc) · 3.09 KB
/
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
services:
blockchain:
container_name: ksox-blockchain
hostname: ksox-blockchain
build:
context: ./blockchain
ports:
- 8545:8545
postgres:
container_name: ksox-postgres
hostname: ksox-postgres
build:
context: ./postgres
env_file:
- ./postgres/.env
ports:
- 5432:5432
redis:
container_name: ksox-redis
hostname: ksox-redis
build:
context: ./redis
ports:
- 6379:6379
- 8001:8001
server-engagement:
container_name: ksox-server-engagement
hostname: ksox-server-engagement
build:
context: ./server
dockerfile: ./engagement.dockerfile
args:
- SQLX_OFFLINE="true"
env_file:
- ./server/.env
depends_on:
- blockchain
- postgres
- redis
server-engine:
container_name: ksox-server-engine
hostname: ksox-server-engine
build:
context: ./server
dockerfile: ./engine.dockerfile
args:
- SQLX_OFFLINE="true"
env_file:
- ./server/.env
depends_on:
- blockchain
- postgres
- redis
server-blockchain:
container_name: ksox-server-blockchain
hostname: ksox-server-blockchain
build:
context: ./server
dockerfile: ./blockchain.dockerfile
args:
- SQLX_OFFLINE="true"
env_file:
- ./server/.env
depends_on:
- blockchain
- postgres
- redis
- server-engine
server-worker:
container_name: ksox-server-worker
hostname: ksox-server-worker
build:
context: ./server
dockerfile: ./worker.dockerfile
args:
- SQLX_OFFLINE="true"
env_file:
- ./server/.env
depends_on:
- blockchain
- postgres
- redis
- server-engagement
- server-engine
- server-blockchain
ports:
- 8080:80
web-exchange:
container_name: ksox-web-exchange
hostname: ksox-web-exchange
build:
context: ./web
dockerfile: ./exchange.dockerfile
args:
- NODE_ENV="development"
depends_on:
- server-worker
web-exchange-landing:
container_name: ksox-web-exchange-landing
hostname: ksox-web-exchange-landing
build:
context: ./web
dockerfile: ./exchange-landing.dockerfile
args:
- NODE_ENV="development"
depends_on:
- server-worker
web-processor:
container_name: ksox-web-processor
hostname: ksox-web-processor
build:
context: ./web
dockerfile: ./processor.dockerfile
args:
- NODE_ENV="development"
depends_on:
- server-worker
web-dashboard:
container_name: ksox-web-dashboard
hostname: ksox-web-dashboard
build:
context: ./web
dockerfile: ./dashboard.dockerfile
args:
- NODE_ENV="development"
depends_on:
- server-worker
proxy:
container_name: ksox-proxy
hostname: ksox-proxy
build:
context: ./proxy
depends_on:
- server-worker
- web-exchange
- web-exchange-landing
- web-processor
- web-dashboard
ports:
- 0.0.0.0:80:80
- 0.0.0.0:443:443