-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
56 lines (52 loc) · 1.31 KB
/
docker-compose.dev.yml
File metadata and controls
56 lines (52 loc) · 1.31 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
version: '3.8'
services:
backend:
build: ./backend
container_name: resmern-backend-dev
ports:
- "5000:5000"
environment:
- NODE_ENV=development
- PORT=5000
- MONGODB_URI=${MONGODB_URI}
- JWT_TOKEN=${JWT_TOKEN}
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET}
- GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID}
- GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET}
- NLP_SERVICE_URL=http://nlp-service:8001
- LATEX_SERVICE_URL=http://latex-service:8002
volumes:
- ./uploads:/app/uploads
- ./backend:/app
- /app/node_modules
depends_on:
- nlp-service
- latex-service
networks:
- app-network
command: npm run dev
nlp-service:
build: ./nlp
container_name: resmern-nlp-dev
ports:
- "8001:8001"
volumes:
- ./nlp:/app
networks:
- app-network
command: uvicorn nlp_server:app --host 0.0.0.0 --port 8001 --reload
latex-service:
build: ./latexParsing
container_name: resmern-latex-dev
ports:
- "8002:8002"
volumes:
- ./latexParsing:/app
- ./latexParsing/output:/app/output
networks:
- app-network
command: uvicorn app:app --host 0.0.0.0 --port 8002 --reload
networks:
app-network:
driver: bridge