kopia lustrzana https://github.com/mate-dev/mmrelaynode
Update docker-compose.yaml, del old config.yaml
rodzic
cadb684bbc
commit
3682ee65e9
|
@ -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
|
||||
|
|
@ -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"
|
||||
|
|
Ładowanie…
Reference in New Issue