sforkowany z mirror/meshtastic-firmware
More fun
rodzic
f0f5107a5d
commit
b13eaee6b3
|
@ -11,5 +11,6 @@ RUN . ~/.platformio/penv/bin/activate; cd firmware; sh ./bin/build-native.sh
|
|||
FROM frolvlad/alpine-glibc
|
||||
WORKDIR /root/
|
||||
COPY --from=builder /firmware/release/meshtasticd_linux_amd64 ./
|
||||
RUN apk --update add --no-cache g++
|
||||
CMD ["./meshtasticd_linux_amd64"]
|
||||
RUN apk --update add --no-cache g++ && \
|
||||
apk add openssl
|
||||
CMD sh -cx "./meshtasticd_linux_amd64 --hwid '$RANDOM'"
|
|
@ -1,23 +1,13 @@
|
|||
version: "3.7"
|
||||
|
||||
services:
|
||||
meshtastic-node-1:
|
||||
meshtastic-node:
|
||||
build: .
|
||||
command: ["./meshtasticd_linux_amd64", "--hwid", "12:2E:9C:CF:65:7C"]
|
||||
ports:
|
||||
- 4403:4403
|
||||
meshtastic-node-2:
|
||||
build: .
|
||||
command: ["./meshtasticd_linux_amd64", "--hwid", "93:DD:85:BB:36:54"]
|
||||
ports:
|
||||
- 4404:4403
|
||||
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
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 80
|
||||
networks:
|
||||
- mesh
|
||||
|
||||
networks:
|
||||
mesh:
|
Ładowanie…
Reference in New Issue