-
Notifications
You must be signed in to change notification settings - Fork 174
Expand file tree
/
Copy pathdocker-compose.dist.yaml
More file actions
49 lines (46 loc) · 1.23 KB
/
docker-compose.dist.yaml
File metadata and controls
49 lines (46 loc) · 1.23 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
x-shared-logs: &shared-logs
logging:
driver: "json-file"
options:
max-size: "10k"
services:
backend:
#image: ghcr.io/vamplabai/sgr-agent-core:latest
build:
context: .
dockerfile: Dockerfile
command:
- --config-file=/app/config.yaml
- --agents-file=/app/agents.yaml
container_name: sgr-agent-backend
restart: unless-stopped
ports:
- "${BACKEND_PORT:-8010}:8010"
volumes:
- ./examples/sgr_deep_research:/app/examples/sgr_deep_research:ro
- ./sgr_agent_core:/app/sgr_agent_core:ro
- ./config.yaml:/app/config.yaml:ro
- ./agents.yaml:/app/agents.yaml:ro
- ./logging_config.yaml:/app/logging_config.yaml:ro
- ./logs:/app/logs
- ./reports:/app/reports
networks:
- sgr-network
<<: *shared-logs
frontend:
build:
context: ./sgr-agent-frontend
dockerfile: Dockerfile
args:
- VITE_API_BASE_URL=${VITE_API_BASE_URL:-http://localhost:8010}
- VITE_APP_ENV=${VITE_APP_ENV:-production}
container_name: sgr-agent-frontend
restart: unless-stopped
ports:
- "${FRONTEND_PORT:-5173}:80"
networks:
- sgr-network
<<: *shared-logs
networks:
sgr-network:
driver: bridge