feat: Docker-Support (Compose + Dockerfiles)
- docker-compose.yml: db (timescaledb/pg17) + backend + frontend - backend/Dockerfile: multi-stage (golang:1.24-alpine -> debian:bookworm-slim) - frontend/Dockerfile: multi-stage (node:22-alpine -> nginx:alpine), Build-Args fuer VITE_* - frontend/nginx.conf: SPA-Routing + Asset-Caching - .env.example: BACKEND_HOST, DB_PASSWORD, JWT_SECRET, API_KEY - backend/config/config.go: ENV-Var-Support vervollstaendigt (JWT_SECRET, API_KEY, DB_PORT, DB_USER, DB_NAME) - backend/config.yaml.example: ENV-Var Kommentare ergaenzt - README: Docker-Quickstart als empfohlener Einstieg (3 Befehle) - .gitignore: .env zur ignore-Liste hinzugefuegt
This commit is contained in:
+3
-1
@@ -38,9 +38,11 @@ frontend/dist/
|
||||
frontend/src/config.js
|
||||
!frontend/src/config.example.js
|
||||
|
||||
# .env hat echte Credentials — nie einchecken
|
||||
# .env Dateien haben echte Credentials — nie einchecken
|
||||
frontend/.env
|
||||
!frontend/.env.example
|
||||
.env
|
||||
!.env.example
|
||||
|
||||
# ========================
|
||||
# OS / Editor
|
||||
|
||||
Reference in New Issue
Block a user