-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
71 lines (68 loc) · 1.83 KB
/
Copy pathdocker-compose.yml
File metadata and controls
71 lines (68 loc) · 1.83 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
services:
bifrost:
image: maximhq/bifrost:latest
container_name: bifrost
ports:
- "${BIFROST_PORT:-8081}:8080"
volumes:
- ./bifrost/data:/app/data
- ./bifrost/config.json:/app/data/config.json
env_file:
- backend/.env
environment:
APP_HOST: "0.0.0.0"
networks:
- agent-sandbox
healthcheck:
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://localhost:8080/health"]
interval: 10s
timeout: 5s
retries: 3
restart: unless-stopped
app:
build:
context: .
dockerfile: backend/Dockerfile
args:
APP_UID: ${APP_UID:-1000}
image: duckdb-data-agent:latest
container_name: duckdb-data-agent
ports:
- "${APP_PORT:-10000}:10000"
env_file:
- backend/.env
environment:
CONTAINER_IMAGE: duckdb-agent-sidecar:latest
CONTAINER_NETWORK: agent-sandbox
BIFROST_BASE_URL: http://bifrost:8080
BACKEND_BASE_URL: http://duckdb-data-agent:10000
SKILLS_DIR: /app/skills
SKILLS_HOST_PATH: ${SKILLS_HOST_PATH:-${PWD}/skills}
PLUGINS_HOST_PATH: ${PLUGINS_HOST_PATH:-${PWD}/plugins}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./skills:/app/skills
- ./plugins:/app/plugins:ro
- ./data:/app/data
group_add:
- "${DOCKER_GID:-0}"
networks:
- agent-sandbox
depends_on:
bifrost:
condition: service_healthy
restart: unless-stopped
sidecar:
build:
context: ./sidecar
dockerfile: Dockerfile
image: duckdb-agent-sidecar:latest
profiles:
- sidecar
# Never started directly — exists only so `docker compose build`
# produces the sidecar image. The app spawns sidecar containers
# on-demand via Docker SDK.
networks:
agent-sandbox:
name: agent-sandbox
external: true