-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
216 lines (204 loc) · 5.01 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
services:
mongodb:
image: mongo:7.0.9
container_name: mongo
ports:
- "27017:27017"
environment:
MONGO_INITDB_DATABASE: "PartyPlanning"
volumes:
- mongo_data:/data/mongodb
- ./mongodb-init:/docker-entrypoint-initdb.d
- ./mongod.conf:/etc/mongod.conf
healthcheck:
test: "mongosh --eval 'db.runCommand({ ping: 1 })' --quiet"
interval: 2s
timeout: 5s
retries: 10
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
- party_planning_committee_network
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
image: cr.weaviate.io/semitechnologies/weaviate:1.25.0
ports:
- 8080:8080
- 50051:50051
volumes:
- weaviate_data:/data/weaviate
restart: on-failure:0
environment:
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
# ENABLE_MODULES: 'text2vec-cohere,text2vec-huggingface,text2vec-palm,text2vec-openai,text2vec-transformers'
CLUSTER_HOSTNAME: 'node1'
networks:
- party_planning_committee_network
python-lightingagent:
build:
context: ./
dockerfile: Agents/python/lightingAgent/Dockerfile
ports:
- "6001:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/health"]
interval: 2s
timeout: 5s
retries: 10
environment:
MONGODB_URL: "mongodb://mongo:27017"
depends_on:
mongodb:
condition: service_healthy
homeservice:
condition: service_healthy
lightservice:
condition: service_healthy
speakerservice:
condition: service_healthy
networks:
- party_planning_committee_network
csharp-lightingagent:
build:
context: ./
dockerfile: Agents/dotnet/lightingAgent/Dockerfile
ports:
- "6101:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/health"]
interval: 2s
timeout: 5s
retries: 10
depends_on:
mongodb:
condition: service_healthy
homeservice:
condition: service_healthy
lightservice:
condition: service_healthy
speakerservice:
condition: service_healthy
networks:
- party_planning_committee_network
java-lightingagent:
build:
context: ./
dockerfile: Agents/java/LightingAgent/Dockerfile
ports:
- "6201:8080"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/actuator/health"]
interval: 2s
timeout: 5s
retries: 10
environment:
MONGO_URI: "mongodb://mongo:27017"
depends_on:
mongodb:
condition: service_healthy
homeservice:
condition: service_healthy
lightservice:
condition: service_healthy
speakerservice:
condition: service_healthy
networks:
- party_planning_committee_network
lightservice:
build:
context: ./
dockerfile: PluginServices/LightService/Dockerfile
ports:
- "5001:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/health"]
interval: 2s
timeout: 5s
retries: 10
depends_on:
mongodb:
condition: service_healthy
networks:
- party_planning_committee_network
homeservice:
build:
context: ./
dockerfile: PluginServices/HomeService/Dockerfile
ports:
- "5002:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/health"]
interval: 2s
timeout: 5s
retries: 10
depends_on:
mongodb:
condition: service_healthy
networks:
- party_planning_committee_network
speakerservice:
build:
context: ./
dockerfile: PluginServices/SpeakerService/Dockerfile
ports:
- "5003:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/health"]
interval: 2s
timeout: 5s
retries: 10
depends_on:
mongodb:
condition: service_healthy
networks:
- party_planning_committee_network
sceneservice:
build:
context: ./
dockerfile: PluginServices/SceneService/Dockerfile
ports:
- "5004:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/health"]
interval: 2s
timeout: 5s
retries: 10
depends_on:
mongodb:
condition: service_healthy
networks:
- party_planning_committee_network
ui:
build:
context: ./
dockerfile: UI/Dockerfile
stdin_open: true
tty: true
environment:
- DEPLOY_ENV=docker
depends_on:
python-lightingagent:
condition: service_healthy
csharp-lightingagent:
condition: service_healthy
java-lightingagent:
condition: service_healthy
networks:
- party_planning_committee_network
volumes:
weaviate_data:
mongo_data:
networks:
party_planning_committee_network:
driver: bridge