diff --git a/Dockerfile b/Dockerfile index 01d262ce3..0ce4e3326 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,4 @@ 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"] +CMD sh -cx "./meshtasticd_linux_amd64 --hwid '$RANDOM'" \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 28b8c2ebd..f137139c2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,13 @@ version: "3.7" services: - meshtastic-device: + meshtastic-node: build: . + deploy: + mode: replicated + replicas: 80 + networks: + - mesh + +networks: + mesh: \ No newline at end of file