Phase 1: Backend scaffold with Fastify, Prisma, Docker

This commit is contained in:
2026-02-23 15:26:50 +01:00
commit 8ea3279c3b
17 changed files with 3345 additions and 0 deletions

19
docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
services:
backend:
build: .
container_name: lck-control-backend
restart: unless-stopped
ports:
- "3100:3000"
volumes:
- ./data:/app/data
env_file:
- .env
environment:
- DATABASE_URL=file:/app/data/lck.db
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s