mirror of
https://github.com/MeshTender/MeshTender.git
synced 2026-09-03 18:43:43 +00:00
20 lines
757 B
Bash
20 lines
757 B
Bash
# Copy to .env and source it (e.g. `set -a; . ./.env; set +a`) before running.
|
|
|
|
MESHTENDER_ADDR=:8080
|
|
MESHTENDER_DATABASE_URL=postgres://meshtender:meshtender@localhost:5432/meshtender?sslmode=disable
|
|
|
|
# 32-byte AES key, hex-encoded (64 chars). Generate with:
|
|
# openssl rand -hex 32
|
|
MESHTENDER_MASTER_KEY=0000000000000000000000000000000000000000000000000000000000000000
|
|
|
|
# WebAuthn relying-party settings. RP_ID is the bare domain (no scheme/port).
|
|
MESHTENDER_RP_ID=localhost
|
|
MESHTENDER_RP_NAME=MeshTender
|
|
MESHTENDER_RP_ORIGIN=http://localhost:8080
|
|
|
|
# Default LoRa radio params suggested when adding a repeater (EU 869.525 / 250k / SF11 / CR5).
|
|
MESHTENDER_RADIO_FREQ_HZ=869525000
|
|
MESHTENDER_RADIO_BW_HZ=250000
|
|
MESHTENDER_RADIO_SF=11
|
|
MESHTENDER_RADIO_CR=5
|