-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (68 loc) · 1.6 KB
/
Copy pathdocker-compose.yml
File metadata and controls
74 lines (68 loc) · 1.6 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
services:
mongo:
image: mongo:latest
container_name: electra-mongo
command: ["mongod", "--bind_ip_all", "--quiet"]
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
restart: always
backend:
build: ./backend
container_name: electra-backend
ports:
- "5005:5000"
environment:
- PORT=5000
- MONGO_URI=mongodb://mongo:27017/electrai
- JWT_SECRET=wohiewx843092
- GEMINI_API_KEY=AIzaSyBkADHeip1nnAyjaWrl3DoWLzQfvszV75M
depends_on:
- mongo
restart: always
auth-service:
build: ./microservices/auth-service
container_name: electra-auth
ports:
- "5001:5001"
environment:
- PORT=5001
- MONGO_URI=mongodb://mongo:27017/electrai
- JWT_SECRET=wohiewx843092
- GEMINI_API_KEY=AIzaSyBkADHeip1nnAyjaWrl3DoWLzQfvszV75M
depends_on:
- mongo
restart: always
assistant-service:
build: ./microservices/assistant-service
container_name: electra-assistant
ports:
- "5002:5002"
environment:
- PORT=5002
- GEMINI_API_KEY=AIzaSyBkADHeip1nnAyjaWrl3DoWLzQfvszV75M
depends_on:
- mongo
restart: always
analytics-service:
build: ./microservices/analytics-service
container_name: electra-analytics
ports:
- "5003:5003"
environment:
- PORT=5003
- MONGO_URI=mongodb://mongo:27017/electrai
depends_on:
- mongo
restart: always
frontend:
build: ./frontend
container_name: electra-frontend
ports:
- "5173:80"
depends_on:
- backend
restart: always
volumes:
mongo-data: