-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·51 lines (48 loc) · 1.18 KB
/
Copy pathdocker-compose.yml
File metadata and controls
executable file
·51 lines (48 loc) · 1.18 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
services:
query-agent-db:
container_name: query-agent-db
image: postgres:15
restart: unless-stopped
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
ports:
- "5432:5432"
volumes:
- ./postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
networks:
- shared-network
query-agent-backend:
container_name: query-agent-backend
build: ./backend
restart: unless-stopped
ports:
- "8000:8000"
depends_on:
- query-agent-db
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_HOST: query-agent-db
LLM_URL: http://192.168.1.74:1234/v1/chat/completions # CHANGE THIS TO YOUR LM API URL
volumes:
- ./shared_utils:/app/shared_utils
networks:
- shared-network
query-agent-frontend:
container_name: query-agent-frontend
build: ./frontend
restart: unless-stopped
ports:
- "8080:8501"
depends_on:
- query-agent-backend
volumes:
- ./shared_utils:/app/shared_utils
networks:
- shared-network
networks:
shared-network:
external: true