forked from iarv/meshview
91 lines
1.9 KiB
INI
91 lines
1.9 KiB
INI
# -------------------------
|
|
# Server Configuration
|
|
# -------------------------
|
|
[server]
|
|
# The address to bind the server to. Use * to listen on all interfaces.
|
|
bind = 0.0.0.0
|
|
|
|
# Port to run the web server on.
|
|
port = 8081
|
|
|
|
# Path to TLS certificate (leave blank to disable HTTPS).
|
|
tls_cert =
|
|
|
|
# Path for the ACME challenge if using Let's Encrypt.
|
|
acme_challenge =
|
|
|
|
|
|
# -------------------------
|
|
# Site Appearance & Behavior
|
|
# -------------------------
|
|
[site]
|
|
domain =
|
|
language = en
|
|
title = Bay Area Mesh
|
|
message = Real time data from around the bay area and beyond.
|
|
starting = /chat
|
|
|
|
nodes = True
|
|
conversations = True
|
|
everything = True
|
|
graphs = True
|
|
stats = True
|
|
net = True
|
|
map = True
|
|
top = True
|
|
|
|
map_top_left_lat = 39
|
|
map_top_left_lon = -123
|
|
map_bottom_right_lat = 36
|
|
map_bottom_right_lon = -121
|
|
|
|
map_interval = 3
|
|
firehose_interal = 3
|
|
|
|
weekly_net_message = Weekly Mesh check-in. We will keep it open on every Wednesday from 5:00pm for checkins. The message format should be (LONG NAME) - (CITY YOU ARE IN) #BayMeshNet.
|
|
net_tag = #BayMeshNet
|
|
|
|
|
|
# -------------------------
|
|
# MQTT Broker Configuration
|
|
# -------------------------
|
|
[mqtt]
|
|
server = mqtt.meshtastic.org
|
|
topics = ["msh/US/bayarea/#", "msh/US/CA/mrymesh/#", "msh/US/CA/sacvalley"]
|
|
port = 1883
|
|
username = meshdev
|
|
password = large4cats
|
|
skip_node_ids =
|
|
secondary_keys =
|
|
|
|
|
|
# -------------------------
|
|
# Database Configuration
|
|
# -------------------------
|
|
[database]
|
|
connection_string = sqlite+aiosqlite:////var/lib/meshview/packets.db
|
|
|
|
|
|
# -------------------------
|
|
# Database Cleanup Configuration
|
|
# -------------------------
|
|
[cleanup]
|
|
enabled = False
|
|
days_to_keep = 14
|
|
hour = 2
|
|
minute = 00
|
|
vacuum = False
|
|
|
|
backup_enabled = False
|
|
backup_dir = ./backups
|
|
backup_hour = 2
|
|
backup_minute = 00
|
|
|
|
|
|
# -------------------------
|
|
# Logging Configuration
|
|
# -------------------------
|
|
[logging]
|
|
access_log = False
|
|
db_cleanup_logfile = /var/log/meshview/dbcleanup.log
|