Jetzt läufts erst mal auf citysensor.de (strato) mit der MongoDB auf IONOS
This commit is contained in:
rxf
2026-03-28 15:20:51 +01:00
parent b7736413d4
commit cb5062c0de
19 changed files with 1213 additions and 112 deletions

30
.env.example Normal file
View File

@@ -0,0 +1,30 @@
# Environment Variables für docker-compose.prod.yml
# WICHTIG: Kopiere diese Datei zu .env und passe die Werte an!
# cp .env.example .env
#
# ACHTUNG: .env sollte NICHT ins Git committed werden!
# Server Configuration
SERVERPORT=3005
EXTERNAL_PORT=3005
DEBUG=false
# MongoDB Configuration - EXTERNER SERVER
# Beispiel für Produktionsserver:
MONGOHOST=your-mongodb-server.example.com
MONGOPORT=27017
MONGOBASE=allsensors
# MongoDB Authentication
# Setze auf "true" wenn MongoDB Authentifizierung verwendet
MONGOAUTH=true
# MongoDB User und Password im Format: username:password
# Beispiel: MONGOUSRP=admin:SecurePassword123
MONGOUSRP=admin:your-secure-password-here
# Node Environment
NODE_ENV=production
# Timezone
TZ=Europe/Berlin