forked from Lumen-Scribe/Lumenqraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (24 loc) · 779 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
24 lines (24 loc) · 779 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
# Local Postgres for development. In production, point DATABASE_URL at a
# managed instance (Neon/Supabase) instead of running this.
#
# IMPORTANT: Set WEBHOOK_ENCRYPTION_KEY in your environment before starting services.
# Generate with: openssl rand -hex 32
# The API and webhooks services will refuse to start without this variable.
services:
postgres:
image: postgres:16-alpine
container_name: lumenqraph-postgres
environment:
POSTGRES_USER: lumenqraph
POSTGRES_PASSWORD: lumenqraph
POSTGRES_DB: lumenqraph
ports:
- "5432:5432"
volumes:
- ./.pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U lumenqraph"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s