-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 855 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (31 loc) · 855 Bytes
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
services:
app:
build:
context: .
depends_on:
db:
condition: service_healthy
required: false
environment:
AUTH_SECRET: ${AUTH_SECRET:-replace-with-a-long-random-string-for-local-docker}
DATABASE_URL: ${DATABASE_URL:-postgresql://agentbridge:agentbridge@db:5432/agentbridge?schema=public}
NEXT_TELEMETRY_DISABLED: "1"
ports:
- "${PORT:-3000}:3000"
db:
image: postgres:18-alpine
profiles: ["local-db"]
restart: unless-stopped
environment:
POSTGRES_DB: agentbridge
POSTGRES_USER: agentbridge
POSTGRES_PASSWORD: agentbridge
healthcheck:
test: ["CMD-SHELL", "pg_isready -U agentbridge -d agentbridge"]
interval: 5s
timeout: 5s
retries: 10
volumes:
- postgres-data:/var/lib/postgresql/data
volumes:
postgres-data: