Files
server-26/drb-c2-core/.env.example
T
2026-04-12 23:33:44 -04:00

33 lines
1.0 KiB
Bash

# MQTT broker (usually the mosquitto container on this host)
MQTT_BROKER=mosquitto
MQTT_PORT=1883
# Use the c2-core credential — must match MQTT_C2_USER/MQTT_C2_PASS in the
# top-level .env (which is passed to the mosquitto entrypoint)
MQTT_USER=drb-c2-core
MQTT_PASS=change-me-c2
# GCP — path to service account JSON inside the container
GCP_CREDENTIALS_PATH=/app/gcp-key.json
# Firestore database name (use "(default)" if you didn't create a named database)
FIRESTORE_DATABASE=c2-server
# GCS bucket for audio storage
GCS_BUCKET=your-bucket-name
# How long (seconds) before a node is marked offline if no checkin received
NODE_OFFLINE_THRESHOLD=90
# OpenAI Whisper — for audio transcription
OPENAI_API_KEY=
# Gemini — for intelligence extraction, embeddings, and incident summaries
GEMINI_API_KEY=
SUMMARY_INTERVAL_MINUTES=15
CORRELATION_WINDOW_HOURS=4
EMBEDDING_SIMILARITY_THRESHOLD=0.82
# Auth — static key that edge nodes send as Bearer token on /upload
# Generate with: openssl rand -hex 32
NODE_API_KEY=