mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-26 17:15:08 +01:00
18 lines
395 B
Docker
18 lines
395 B
Docker
FROM eclipse-mosquitto:1.6
|
|
|
|
ENV HOME /notifier
|
|
|
|
RUN apk --no-cache --update add jq curl su-exec
|
|
|
|
WORKDIR ${HOME}
|
|
|
|
COPY script/* ./
|
|
|
|
RUN chmod +x startnotifier.sh requesthandler.sh \
|
|
&& chmod o+w .
|
|
|
|
ENTRYPOINT ["su-exec"]
|
|
|
|
# docker run --rm -d -p 1883:1883 -p 9001:9001 --network cyphernodenet --name broker eclipse-mosquitto
|
|
# docker run --rm -it --network cyphernodenet --name mq1 mqtt-client
|