Etappe 1: Container-Infrastruktur + udev-Erkennung

- Docker Compose mit 5 Containern (api, worker, ui, postgres, redis)
- Basis-Dockerfiles für FastAPI, Celery, React/Vite, PostgreSQL, Redis
- udev-Regel + Python-Daemon für Disc-Einwurf-Erkennung
- Device-Resolver (UUID/Serial → /dev/disc/<uuid>)
- Celery-Worker mit Dummy-Job-Task (Disc-Erkennung)
- .env.example mit Umgebungsvariablen
- .gitignore für Docker, .env, node_modules
- README, SAVEPOINT, ROADMAP aktualisiert
This commit is contained in:
Hitonabi
2026-07-21 14:59:09 +02:00
parent cbe7d2b9c3
commit 5d23b1e6c8
22 changed files with 607 additions and 34 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM node:22-alpine
WORKDIR /app
RUN apk add --no-cache curl
COPY package.json package-lock.json* ./
RUN npm ci --only=production 2>/dev/null || npm install --only=production
COPY . .
EXPOSE 80
CMD ["vite", "--host", "0.0.0.0", "--port", "80"]
+15
View File
@@ -0,0 +1,15 @@
{
"name": "rippy-ui",
"version": "1.0.0",
"description": "Rippy Web UI",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"devDependencies": {
"vite": "^5.4.0"
},
"packageManager": "npm@10.8.0"
}
+13
View File
@@ -0,0 +1,13 @@
import { defineConfig } from 'vite'
export default defineConfig({
root: './',
build: {
outDir: 'dist',
assetsDir: 'assets'
},
server: {
port: 80,
host: true
}
})