mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-27 18:31:37 +00:00
Merge pull request #1912 from meshtastic/docker-compose
Added docker compose multiple nodes example
This commit is contained in:
commit
a695726f2a
@ -12,4 +12,4 @@ FROM frolvlad/alpine-glibc
|
|||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
COPY --from=builder /firmware/release/meshtasticd_linux_amd64 ./
|
COPY --from=builder /firmware/release/meshtasticd_linux_amd64 ./
|
||||||
RUN apk --update add --no-cache g++
|
RUN apk --update add --no-cache g++
|
||||||
CMD ["./meshtasticd_linux_amd64"]
|
CMD sh -cx "./meshtasticd_linux_amd64 --hwid '$RANDOM'"
|
@ -1,5 +1,13 @@
|
|||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
meshtastic-device:
|
meshtastic-node:
|
||||||
build: .
|
build: .
|
||||||
|
deploy:
|
||||||
|
mode: replicated
|
||||||
|
replicas: 80
|
||||||
|
networks:
|
||||||
|
- mesh
|
||||||
|
|
||||||
|
networks:
|
||||||
|
mesh:
|
Loading…
Reference in New Issue
Block a user