chore: add postgres schema migrations

This commit is contained in:
chungyeong
2026-05-09 22:30:49 +09:00
parent 6bd4c9382a
commit 38f3472d9c
18 changed files with 3399 additions and 1 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
services:
postgres:
image: postgres:16
container_name: devflow-postgres
environment:
POSTGRES_DB: devflow
POSTGRES_USER: devflow
POSTGRES_PASSWORD: devflow
ports:
- "${DEVFLOW_POSTGRES_PORT:-55432}:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U devflow -d devflow"]
interval: 5s
timeout: 5s
retries: 12
volumes:
- devflow_postgres_data:/var/lib/postgresql/data
volumes:
devflow_postgres_data: