tunneller
tunneller copied to clipboard
Created a ready to run docker image
I needed to create an easy to deploy instance for myself.
I spent some time creating a docker image which already contains the Mosquitto queue installed and configured.
Decided to share it so everyone could use it at https://hub.docker.com/r/harlev/tunneller
@harlev thanks for sharing this. Any chance you have a Dockerfile for it?
@mikemilano
FROM golang:buster
WORKDIR /app
COPY . /app
RUN apt-get update
RUN apt-get install mosquitto -y
RUN apt-get install mosquitto-clients -y
COPY acl.conf /etc/mosquitto/conf.d/acl.conf
COPY acl.txt /etc/mosquitto/conf.d/acl.txt
RUN go install
EXPOSE 1883
ENTRYPOINT ["sh", "start.sh"]
start.sh:
mosquitto -d
tunneller serve -host 0.0.0.0
@harlev made my day, thank you!