-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.21 KB
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.21 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
version: '3.8'
services:
rag:
build:
context: ./rag
dockerfile: Dockerfile
container_name: nyaya_rag
ports:
- "8000:8000"
env_file:
- ./backend/.env
restart: unless-stopped
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: nyaya_backend
ports:
- "3001:3001"
env_file:
- ./backend/.env
environment:
- PYTHON_RAG_URL=http://rag:8000
volumes:
- ./backend/uploads:/app/uploads
depends_on:
- rag
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
args:
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:3001/api}
NEXT_PUBLIC_GOOGLE_CLIENT_ID: ${NEXT_PUBLIC_GOOGLE_CLIENT_ID:-955280427755-4m1eihj1ec20krcv22bpdb1fe1flmfm7.apps.googleusercontent.com}
container_name: nyaya_frontend
ports:
- "3000:3000"
environment:
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://localhost:3001/api}
- NEXT_PUBLIC_GOOGLE_CLIENT_ID=${NEXT_PUBLIC_GOOGLE_CLIENT_ID:-955280427755-4m1eihj1ec20krcv22bpdb1fe1flmfm7.apps.googleusercontent.com}
depends_on:
- backend
restart: unless-stopped