db/ add docker compose

This commit is contained in:
Leon van Zyl
2025-09-03 08:20:43 +02:00
parent 9be78a32b6
commit f71cccf745
2 changed files with 13 additions and 1 deletions

12
docker-compose.yml Normal file
View File

@@ -0,0 +1,12 @@
version: "3.8"
services:
postgres:
image: pgvector/pgvector:pg17-trixie
container_name: agentic-coding-postgres
environment:
POSTGRES_DB: agentic_coding_dev
POSTGRES_USER: dev_user
POSTGRES_PASSWORD: dev_password
ports:
- "5432:5432"

View File

@@ -1,5 +1,5 @@
# Database
POSTGRES_URL=
POSTGRES_URL=postgresql://dev_user:dev_password@localhost:5432/agentic_coding_dev
# Authentication - Better Auth
# Generate key using https://www.better-auth.com/docs/installation