2023-08-28 16:50:17 +00:00
|
|
|
version: "3.7"
|
2023-08-20 12:44:23 +00:00
|
|
|
services:
|
2023-08-28 16:50:17 +00:00
|
|
|
mmrelaynode:
|
|
|
|
|
image: mmrelaynode:latest
|
|
|
|
|
container_name: mmrelay-node
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
user: "1000:1000"
|
|
|
|
|
volumes:
|
|
|
|
|
- mesh:/home/mesh
|
|
|
|
|
ports:
|
|
|
|
|
- "4403:4403"
|
|
|
|
|
networks:
|
|
|
|
|
- mesh
|
|
|
|
|
entrypoint: ["sh", "-c", "/usr/bin/meshtasticd -d /home/mesh/node -h 1234"]
|
|
|
|
|
# entrypoint: ["sh", "-c", "/usr/bin/meshtasticd -d /home/mesh/node -h $(grep -Po 'hwid: "\K[^"]+' /home/mesh/app/config.yaml)"]
|
2023-08-22 02:21:38 +00:00
|
|
|
mmrelayapp:
|
2023-08-21 22:05:11 +00:00
|
|
|
image: mmrelayapp:latest
|
2023-08-21 21:20:08 +00:00
|
|
|
container_name: mmrelay-app
|
2023-08-21 22:05:11 +00:00
|
|
|
restart: unless-stopped
|
2023-08-28 16:50:17 +00:00
|
|
|
user: "1000:1000"
|
2023-08-21 21:20:08 +00:00
|
|
|
volumes:
|
2023-08-28 16:50:17 +00:00
|
|
|
- mesh:/home/mesh
|
2023-08-21 21:20:08 +00:00
|
|
|
networks:
|
2023-08-28 16:50:17 +00:00
|
|
|
- mesh
|
|
|
|
|
entrypoint: ["sh", "-c", "sleep 30 && python main.py"]
|
2023-08-21 21:20:08 +00:00
|
|
|
|
2023-08-28 16:50:17 +00:00
|
|
|
volumes:
|
|
|
|
|
mesh:
|
2023-08-22 00:29:47 +00:00
|
|
|
|
2023-08-21 21:20:08 +00:00
|
|
|
networks:
|
2023-08-28 16:50:17 +00:00
|
|
|
mesh:
|