Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a ready to run docker image #9

Open
harlev opened this issue Feb 24, 2020 · 3 comments
Open

Created a ready to run docker image #9

harlev opened this issue Feb 24, 2020 · 3 comments

Comments

@harlev
Copy link

harlev commented Feb 24, 2020

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

@mikemilano
Copy link

@harlev thanks for sharing this. Any chance you have a Dockerfile for it?

@harlev
Copy link
Author

harlev commented Apr 1, 2020

@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

@mikemilano
Copy link

@harlev made my day, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants