# ------------------------- # Server Configuration # ------------------------- # important: no leading spaces on configuration lines. [server] # The address to bind the server to. Use * to listen on all interfaces. bind = * # 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] # The domain name of your site. domain = # Select language language = en # Site title to show in the browser title bar and headers. title = Bay Area Mesh # A brief message shown on the homepage. message = Real time data from around the bay area and beyond. # Starting URL when loading the index page. starting = /chat # Enable or disable site features (as strings: "True" or "False"). nodes = True conversations = True everything = True graphs = True stats = True net = True map = True top = True # Map boundaries (used for the map view). map_top_left_lat = 39 map_top_left_lon = -123 map_bottom_right_lat = 36 map_bottom_right_lon = -121 # Updates intervals in seconds, zero or negative number means no updates # defaults will be 3 seconds map_interval=3 firehose_interal=3 # Weekly net details 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 # Channel filtering configuration # Minimum number of packets required for a channel to appear in dropdowns min_packets_for_channel = 5 # Channel allowlist: comma-separated list of channels to display, or * for all channels # Use * to show all channels with sufficient packets # Or specify channels like: LongFast,MediumSlow,MediumFast,ShortTurbo,LongSlow,ShortFast,ShortSlow,VLongSlow channel_allowlist = * # Examples of common Meshtastic channels: #channel_allowlist = LongFast,MediumSlow,MediumFast,ShortTurbo,LongSlow,ShortFast,ShortSlow,VLongSlow # ------------------------- # MQTT Broker Configuration # ------------------------- [mqtt] # MQTT server hostname or IP. server = mqtt.bayme.sh # Topics to subscribe to (as JSON-like list, but still a string). topics = ["msh/US/bayarea/#", "msh/US/CA/mrymesh/#", "msh/US/CA/sacvalley"] # Port used by MQTT (typically 1883 for unencrypted). port = 1883 # MQTT username and password. username = meshdev password = large4cats # ------------------------- # Database Configuration # ------------------------- [database] # SQLAlchemy connection string. This one uses SQLite with asyncio support. connection_string = sqlite+aiosqlite:///packets.db # ------------------------- # Database Cleanup Configuration # ------------------------- [cleanup] # Enable or disable daily cleanup enabled = False # Number of days to keep records in the database days_to_keep = 14 # Time to run daily cleanup (24-hour format) hour = 2 minute = 00 # Run VACUUM after cleanup vacuum = False # ------------------------- # Logging Configuration # ------------------------- [logging] # Enable or disable HTTP access logs from the web server # When disabled, request logs like "GET /api/chat" will not appear # Application logs (errors, startup messages, etc.) are unaffected # Set to True to enable, False to disable (default: False) access_log = False