Update docker-compose.yaml, del old config.yaml

pull/9/head
Jeremiah K 2023-09-06 11:59:33 -05:00
rodzic cadb684bbc
commit 3682ee65e9
2 zmienionych plików z 1 dodań i 31 usunięć

Wyświetl plik

@ -1,30 +0,0 @@
matrix:
homeserver: "https://example.matrix.org"
access_token: "reaalllllyloooooongsecretttttcodeeeeeeforrrrbot" # See: https://t2bot.io/docs/access_tokens/
bot_user_id: "@botuser:example.matrix.org"
matrix_rooms: # Needs at least 1 room & channel, but supports all Meshtastic channels
- id: "#someroomalias:example.matrix.org" # Matrix room aliases & IDs supported
meshtastic_channel: 0
- id: "!someroomid:example.matrix.org"
meshtastic_channel: 2
meshtastic:
connection_type: network # Do not change!
# serial_port: /dev/ttyUSB0 # Only used when connection is "serial"
host: "mmrelaynode" # Do not change!
meshnet_name: "Your Meshnet Name" # This is displayed in full on Matrix, but is truncated when sent to a Meshnet
broadcast_enabled: true
hwid: "12345" # Change to your Hardware ID
logging:
level: "info"
plugins: # Optional plugins
health:
active: true
map:
active: true
nodes:
active: true

Wyświetl plik

@ -25,7 +25,7 @@ services:
- mesh:/home/mesh
networks:
- mesh
command: ["sh", "-c", "python3 config_wrapper.py && sleep 30 && python3 main.py"]
entrypoint: ["sh", "-c", "python3 config_wrapper.py && python3 main.py"]
environment:
MATRIX_HOMESERVER: "https://example.matrix.org"
MATRIX_ACCESS_TOKEN: "your_access_token"