Files
server-26/drb-c2-core/.env.example
T
2026-04-11 13:44:08 -04:00

24 lines
781 B
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
# Auth — static key that edge nodes send as Bearer token on /upload
# Generate with: openssl rand -hex 32
NODE_API_KEY=