forked from adcontextprotocol/adcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
45 lines (43 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
services:
postgres:
image: postgres:16
environment:
POSTGRES_DB: adcp_registry
POSTGRES_USER: adcp
POSTGRES_PASSWORD: localdev
ports:
- "5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U adcp"]
interval: 5s
timeout: 5s
retries: 5
app:
build: .
ports:
- "${CONDUCTOR_PORT:-3000}:8080"
env_file:
- path: .env.local
required: false
environment:
- NODE_ENV=production
- PORT=8080
- DATABASE_URL=postgresql://adcp:localdev@postgres:5432/adcp_registry
- RUN_MIGRATIONS=true
# WARNING: Only for local development - DO NOT use in production
- ALLOW_INSECURE_COOKIES=true
- DEV_USER_EMAIL=dev@example.com
- DEV_USER_ID=dev-user-123
- AGENT_TOKEN_ENCRYPTION_SECRET=local-dev-encryption-key-32chars!
volumes:
# Mount public directory for hot reloading static files
- ./server/public:/app/server/public:ro
# Mount docs directory for Addie knowledge base
- ./docs:/app/docs:ro
depends_on:
postgres:
condition: service_healthy
volumes:
postgres_data: