-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
18 lines (15 loc) · 844 Bytes
/
.env.example
File metadata and controls
18 lines (15 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# --- MESHTASTIC CONNECTION ---
MESHTASTIC_IP=192.168.1.100 # IP of your Meshtastic node
MESHTASTIC_PORT=4403 # Typically 4404 for TCP
GATEWAY_NODE_ID=!a1b23c45 # Your Gateway Node ID (Hex)
MESHTASTIC_CHANNEL=0 # Default broadcast channel (0 = Primary)
# --- SECURITY & AUTH ---
JWT_SECRET=squawkbox_super_secret_key # CHANGE THIS IN PRODUCTION!
JWT_COOKIE_MODE=false # Set to true for HTTPS deployments
MIN_PASSWORD_LENGTH=8 # Minimum password length (default: 8)
# --- DATABASE & STORAGE ---
DATABASE_URL=file:./prisma/dev.db # SQLite location
# --- FRONTEND ---
# The public URL of your backend API, as seen by the BROWSER (not the server).
# Example: http://192.168.1.50:3001 or https://api.yourdomain.com
API_URL=http://localhost:3001