mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
More fun
This commit is contained in:
parent
f0f5107a5d
commit
b13eaee6b3
@ -11,5 +11,6 @@ RUN . ~/.platformio/penv/bin/activate; cd firmware; sh ./bin/build-native.sh
|
|||||||
FROM frolvlad/alpine-glibc
|
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"]
|
apk add openssl
|
||||||
|
CMD sh -cx "./meshtasticd_linux_amd64 --hwid '$RANDOM'"
|
@ -1,23 +1,13 @@
|
|||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
meshtastic-node-1:
|
meshtastic-node:
|
||||||
build: .
|
build: .
|
||||||
command: ["./meshtasticd_linux_amd64", "--hwid", "12:2E:9C:CF:65:7C"]
|
deploy:
|
||||||
ports:
|
mode: replicated
|
||||||
- 4403:4403
|
replicas: 80
|
||||||
meshtastic-node-2:
|
networks:
|
||||||
build: .
|
- mesh
|
||||||
command: ["./meshtasticd_linux_amd64", "--hwid", "93:DD:85:BB:36:54"]
|
|
||||||
ports:
|
networks:
|
||||||
- 4404:4403
|
mesh:
|
||||||
meshtastic-node-3:
|
|
||||||
build: .
|
|
||||||
command: ["./meshtasticd_linux_amd64", "--hwid", "05:97:96:0A:0B:B4"]
|
|
||||||
ports:
|
|
||||||
- 4405:4403
|
|
||||||
meshtastic-node-4:
|
|
||||||
build: .
|
|
||||||
command: ["./meshtasticd_linux_amd64", "--hwid", "07:67:32:9D:84:00"]
|
|
||||||
ports:
|
|
||||||
- 4406:4403
|
|
Loading…
Reference in New Issue
Block a user