Initial commit: FL-Akademie LMS mit Docker, Admin, Portal und Dokumentation.

Made-with: Cursor
This commit is contained in:
lo
2026-04-13 23:17:07 +02:00
commit d3367f0046
66 changed files with 3641 additions and 0 deletions

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: akademie
POSTGRES_PASSWORD: devsecret
POSTGRES_DB: akademie
ports:
- "5433:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U akademie -d akademie"]
interval: 5s
timeout: 5s
retries: 12
web:
build: .
ports:
- "3000:3000"
environment:
DATABASE_URL: postgresql://akademie:devsecret@db:5432/akademie
NEXTAUTH_URL: http://localhost:3000
NEXTAUTH_SECRET: dev-secret-min-32-chars-for-next-auth-docker-compose
NEXT_TELEMETRY_DISABLED: "1"
depends_on:
db:
condition: service_healthy
volumes:
postgres_data: