mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-25 07:14:33 +01:00
First draft of the pub/sub notifier
This commit is contained in:
17
notifier_docker/Dockerfile
Normal file
17
notifier_docker/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user