- 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
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
# ========================
|
|
# Konfigurationen mit Passwörtern — NIEMALS einchecken
|
|
# ========================
|
|
config.yaml
|
|
agent-bsd/config.yaml
|
|
backend/config.yaml
|
|
opnsense-plugin/src/opnsense/service/templates/OPNsense/RMMAgent/config.yaml
|
|
|
|
# Beispiel-Configs sind erlaubt
|
|
!config.yaml.example
|
|
!**/config.yaml.example
|
|
|
|
# ========================
|
|
# Zertifikate & Secrets
|
|
# ========================
|
|
certs/
|
|
*.pem
|
|
*.key
|
|
*.crt
|
|
*.p12
|
|
|
|
# ========================
|
|
# Kompilierte Binaries
|
|
# ========================
|
|
backend/rmm-backend
|
|
agent-bsd/rmm-agent
|
|
agent-linux/rmm-agent
|
|
build/
|
|
updater/rmm-updater
|
|
|
|
# ========================
|
|
# Frontend Build & Konfiguration
|
|
# ========================
|
|
frontend/node_modules/
|
|
frontend/dist/
|
|
|
|
# config.js hat echte IPs und API-Keys — nie einchecken
|
|
frontend/src/config.js
|
|
!frontend/src/config.example.js
|
|
|
|
# .env Dateien haben echte Credentials — nie einchecken
|
|
frontend/.env
|
|
!frontend/.env.example
|
|
.env
|
|
!.env.example
|
|
|
|
# ========================
|
|
# OS / Editor
|
|
# ========================
|
|
.DS_Store
|
|
*.swp
|
|
*.swo
|
|
.idea/
|
|
.vscode/
|
|
backend/rmm-backend-linux
|