mmrelaynode/docker-compose.yaml

42 wiersze
928 B
YAML
Czysty Zwykły widok Historia

2023-08-20 12:44:23 +00:00
version: '3'
services:
mmrelaynode:
build:
context: .
2023-08-21 12:52:16 +00:00
dockerfile: Dockerfile_node
2023-08-21 22:05:11 +00:00
image: mmrelaynode:latest
2023-08-21 21:20:08 +00:00
container_name: mmrelay-node
2023-08-21 22:05:11 +00:00
restart: unless-stopped
2023-08-21 21:20:08 +00:00
user: '1000:1000'
volumes:
- mesh_volume:/home/mesh
networks:
- mesh_net
2023-08-21 12:52:16 +00:00
volumes:
- mesh_volume:/home/mesh
2023-08-21 21:20:08 +00:00
ports:
- "4403:4403"
2023-08-21 22:05:11 +00:00
entrypoint: ["sh", "-cx", "./meshtasticd --hwid '1234'"] #change to your own hardware id
2023-08-20 12:44:23 +00:00
2023-08-21 21:20:08 +00:00
mmrelaynode:
build:
context: .
dockerfile: Dockerfile_app
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-21 21:20:08 +00:00
user: '1000:1000'
volumes:
- mesh_volume:/home/mesh
- ./meshtastic-matrix-relay:/home/mesh/app
- ./config.yaml:/home/mesh/app/config.yaml
networks:
- mesh_net
2023-08-21 22:05:11 +00:00
entrypoint: ["sh", "-c", "sleep 30 && python app/main.py"]
2023-08-21 21:20:08 +00:00
networks:
mesh_net:
2023-08-21 12:52:16 +00:00
volumes:
mesh_volume:
2023-08-21 21:20:08 +00:00