From 6c28f407cb20f2109227c20baf18e3c2bfcb4298 Mon Sep 17 00:00:00 2001 From: Jeremiah K <17190268+jeremiah-k@users.noreply.github.com> Date: Tue, 28 Nov 2023 08:00:07 -0600 Subject: [PATCH] docker-compose-sample.yaml changes --- docker-compose-sample.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docker-compose-sample.yaml b/docker-compose-sample.yaml index 6178379..b2e2f8a 100644 --- a/docker-compose-sample.yaml +++ b/docker-compose-sample.yaml @@ -27,12 +27,13 @@ services: - mesh entrypoint: [ "bash", "-c", "entrypoint.sh" ] environment: + ##### Do not change these variables or the scripts will break ##### + MESHTASTIC_CONNECTION_TYPE: "network" # "serial" or "network" + MESHTASTIC_HOST: "mmrelaydevice" + ##### Change these variables to your needs ##### MATRIX_HOMESERVER: "https://example.matrix.org" MATRIX_ACCESS_TOKEN: "your_access_token" MATRIX_BOT_USER_ID: "@botuser:example.matrix.org" - MESHTASTIC_CONNECTION_TYPE: "network" # "serial" or "network" - MESHTASTIC_SERIAL_PORT: "/dev/ttyUSB0" - MESHTASTIC_HOST: "mmrelaydevice" MESHTASTIC_MESHNET_NAME: "Your Meshnet Name" MESHTASTIC_BROADCAST_ENABLED: "true" LOGGING_LEVEL: "info" @@ -41,15 +42,17 @@ services: MATRIX_ROOMS_MESHTASTIC_CHANNEL_1: "0" # MATRIX_ROOMS_ID_2: "#someroomalias2:example.matrix.org" # MATRIX_ROOMS_MESHTASTIC_CHANNEL_2: "1" - + # Plugin environment variables # HEALTH_PLUGIN_ACTIVE: "true" # MAP_PLUGIN_ACTIVE: "true" # NODES_PLUGIN_ACTIVE: "true" + + # You can add as many MESHTASTIC_COMMAND_X variables as you need, they will be executed in order MESHTASTIC_COMMAND_1: "--set-owner 'LongName' --set-owner-short 'SHRT' --set-url https://meshtastic.org/e/#CgMSAQESDAgBOAFAA0gBUB5oAQ" MESHTASTIC_COMMAND_2: "--set mqtt.enabled true --set mqtt.address mqtt.meshtastic.org --set mqtt.username meshdev --set mqtt.password large4cats" MESHTASTIC_COMMAND_3: "--ch-set uplink_enabled true --ch-set downlink_enabled true --ch-index 0" - # You can add as many MESHTASTIC_COMMAND_X as you need, they will be executed in order + networks: mesh: