- frontend/src/config.js liest jetzt aus VITE_BACKEND_HOST / VITE_BACKEND_PORT / VITE_API_KEY - frontend/.env.example hinzugefuegt (Vorlage fuer eigene Konfiguration) - frontend/src/config.example.js auf .env-Ansatz aktualisiert - frontend/.env zu .gitignore hinzugefuegt - dist/ war bereits ignoriert (Build-Artefakt mit internen IPs) - backend/main.go: localIPs() ermittelt IPs dynamisch, keine Hardcodierung - Alle internen IPs (192.168.x.x, 10.172.x.x) nur in ignorierten Dateien
54 lines
1.0 KiB
Plaintext
54 lines
1.0 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 hat echte Credentials — nie einchecken
|
|
frontend/.env
|
|
!frontend/.env.example
|
|
|
|
# ========================
|
|
# OS / Editor
|
|
# ========================
|
|
.DS_Store
|
|
*.swp
|
|
*.swo
|
|
.idea/
|
|
.vscode/
|
|
backend/rmm-backend-linux
|