forked from IntellectEU/guardian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
166 lines (151 loc) · 3.04 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
version: "3.8"
services:
mongo:
image: mongo:6.0.3
command: "--setParameter allowDiskUseByDefault=true"
restart: always
expose:
- 27017
mongo-express:
image: mongo-express:1.0.0-alpha.4
expose:
- 8081
environment:
ME_CONFIG_MONGODB_SERVER: mongo
ME_CONFIG_MONGODB_PORT: 27017
ME_CONFIG_SITE_BASEURL: /mongo-admin
depends_on:
- mongo
ipfs-node:
image: ipfs/kubo:v0.17.0
ports:
- "5001:5001"
- "5002:5002"
- "4001:4001"
- "4002:4002"
- "8080:8080"
- "8081:8081"
api-docs:
build:
context: .
dockerfile: ./api-docs/Dockerfile
expose:
- 3001
message-broker:
image: nats:2.9.8
expose:
- 4222
ports:
- '8222:8222'
command: '--http_port 8222'
vault:
image: vault:1.12.2
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-node
- auth-service
environment:
- SERVICE_CHANNEL="worker.1"
worker-service-2:
build:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-node
- auth-service
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
policy-service:
build:
context: .
dockerfile: ./policy-service/Dockerfile
depends_on:
- mongo
- message-broker
- 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
- policy-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
- mongo-express
volumes:
mongo:
# volume-guardian-service:
# volume-ui-service:
# volume-mrv-sender:
# volume-message-broker: