Erstes lauffähiges Grundgerüst: Monorepo, Fastify-API, React-Startseite, Docker

This commit is contained in:
2026-07-19 01:14:29 +02:00
parent 657496fe49
commit 7b8723729b
39 changed files with 4388 additions and 15 deletions

View File

@@ -1,14 +1,31 @@
version: "3.9"
services:
backend:
build: ./backend
build:
context: .
dockerfile: apps/backend/Dockerfile
container_name: launchpad-backend
restart: unless-stopped
environment:
- DATABASE_PATH=/data/launchpad.db
- PORT=3001
- HOST=0.0.0.0
- NODE_ENV=production
volumes:
- launchpad-data:/data
ports:
- "3001:3001"
frontend:
build: ./frontend
ports:
- "3000:3000"
build:
context: .
dockerfile: apps/frontend/Dockerfile
container_name: launchpad-frontend
restart: unless-stopped
depends_on:
- backend
ports:
- "8080:80"
volumes:
launchpad-data:
name: launchpad-data