forked from hashgraph/guardian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
146 lines (133 loc) · 2.59 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
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
version: "3.8"
services:
mongo:
image: mongo
restart: always
expose:
- 27017
api-docs:
build:
context: .
dockerfile: ./api-docs/Dockerfile
expose:
- 3001
message-broker:
image: nats
expose:
- 4222
ports:
- '8222:8222'
command: '--http_port 8222'
vault:
image: vault
expose:
- 8200
ports:
- '8200:8200'
environment:
VAULT_SERVER: "http://0.0.0.0:8200"
VAULT_DEV_ROOT_TOKEN_ID: "1234"
cap_add:
- IPC_LOCK
volumes:
- ./file:/vault/file:rw
- ./config:/vault/config:rw
logger-service:
build:
context: .
dockerfile: ./logger-service/Dockerfile
depends_on:
- message-broker
worker-service-1:
build:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-client
environment:
- SERVICE_CHANNEL="worker.1"
worker-service-2:
build:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-client
environment:
- SERVICE_CHANNEL="worker.2"
auth-service:
build:
context: .
dockerfile: ./auth-service/Dockerfile
depends_on:
- mongo
- vault
- message-broker
- logger-service
api-gateway:
build:
context: .
dockerfile: ./api-gateway/Dockerfile
expose:
- 3002
depends_on:
- mongo
- message-broker
- guardian-service
- auth-service
- logger-service
guardian-service:
build:
context: .
dockerfile: ./guardian-service/Dockerfile
depends_on:
- mongo
- message-broker
- auth-service
- logger-service
- worker-service-1
- worker-service-2
ipfs-client:
build:
context: .
dockerfile: ./ipfs-client/Dockerfile
ports:
- "5001:5001"
- "5002:5002"
- "4001:4001"
- "4002:4002"
- "8080:8080"
- "8081:8081"
depends_on:
- message-broker
- logger-service
- auth-service
mrv-sender:
build:
context: .
dockerfile: ./mrv-sender/Dockerfile
expose:
- 3005
topic-viewer:
build:
context: .
dockerfile: ./topic-viewer/Dockerfile
expose:
- 3006
web-proxy:
build:
context: .
dockerfile: ./web-proxy/Dockerfile
ports:
- "3000:80"
depends_on:
- guardian-service
- auth-service
- api-gateway
- api-docs
- mrv-sender
volumes:
mongo:
# volume-guardian-service:
# volume-ui-service:
# volume-mrv-sender:
# volume-message-broker: