Add full sortof codebase: API, drain workers, frontend, schema, specs

This commit is contained in:
2026-05-04 03:27:54 +00:00
parent acda2c90f8
commit 55d3794bfb
43 changed files with 13375 additions and 53 deletions

25
docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
services:
sortof_db:
image: postgres:16-alpine
container_name: sortof_db
restart: unless-stopped
env_file: .env
volumes:
- sortof_db_data:/var/lib/postgresql/data
- ./init:/docker-entrypoint-initdb.d:ro
ports:
- "127.0.0.1:5439:5432"
networks:
- sortof_net
healthcheck:
test: ["CMD-SHELL", "pg_isready -U sortof -d sortof"]
interval: 10s
timeout: 5s
retries: 5
volumes:
sortof_db_data:
networks:
sortof_net:
name: sortof_net