Initial scaffold: Hammer Queue task dashboard

- Backend: Elysia + Bun + Drizzle ORM + PostgreSQL
- Frontend: React + Vite + TypeScript + Tailwind CSS
- Task CRUD API with bearer token auth for writes
- Public read-only dashboard with auto-refresh
- Task states: active, queued, blocked, completed, cancelled
- Reorder support for queue management
- Progress notes per task
- Docker Compose for local dev and Dokploy deployment
This commit is contained in:
2026-01-28 22:55:16 +00:00
commit 0a8d5486bb
36 changed files with 2210 additions and 0 deletions

40
docker-compose.yml Normal file
View File

@@ -0,0 +1,40 @@
version: "3.8"
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: hammer_queue
POSTGRES_PASSWORD: hammer_queue
POSTGRES_DB: hammer_queue
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "3100:3100"
environment:
DATABASE_URL: postgres://hammer_queue:hammer_queue@db:5432/hammer_queue
API_BEARER_TOKEN: ${API_BEARER_TOKEN:-hammer-dev-token}
PORT: "3100"
depends_on:
- db
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
args:
VITE_API_URL: ""
ports:
- "8080:80"
depends_on:
- backend
volumes:
pgdata: