-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (42 loc) · 1.66 KB
/
docker-compose.yml
File metadata and controls
44 lines (42 loc) · 1.66 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
services:
agentprobe:
build: .
ports:
- "127.0.0.1:7878:7878"
environment:
AGENTPROBE_SERVER_TOKEN: ${AGENTPROBE_SERVER_TOKEN:?set AGENTPROBE_SERVER_TOKEN}
OPEN_ROUTER_API_KEY: ${OPEN_ROUTER_API_KEY:?set OPEN_ROUTER_API_KEY}
AGENTPROBE_SERVER_DATA: /app/data
# Default backend is SQLite persisted on the named volume below.
# To switch to Postgres, uncomment the postgres service and AGENTPROBE_DB_URL
# line below, then run `bun src/cli/main.ts db:migrate` before starting
# this service. The server refuses to boot against an out-of-date Postgres schema.
AGENTPROBE_SERVER_DB: /app/.agentprobe/runs.sqlite3
# AGENTPROBE_DB_URL: postgres://agentprobe:agentprobe@postgres:5432/agentprobe
AGENTPROBE_SERVER_DASHBOARD_DIST: /app/dashboard/dist
AGENTPROBE_SERVER_LOG_FORMAT: json
volumes:
- ./data:/app/data:ro
- agentprobe-sqlite:/app/.agentprobe
# depends_on:
# postgres:
# condition: service_healthy
# Optional Postgres backend. The default stack ships SQLite on a volume;
# operators who want durable history across container recreations can enable
# this service. Remember to run `agentprobe db:migrate` before `start-server`.
# postgres:
# image: postgres:16-alpine
# environment:
# POSTGRES_USER: agentprobe
# POSTGRES_PASSWORD: agentprobe
# POSTGRES_DB: agentprobe
# volumes:
# - agentprobe-postgres:/var/lib/postgresql/data
# healthcheck:
# test: ["CMD-SHELL", "pg_isready -U agentprobe -d agentprobe"]
# interval: 5s
# timeout: 3s
# retries: 10
volumes:
agentprobe-sqlite:
# agentprobe-postgres: