-
Notifications
You must be signed in to change notification settings - Fork 12
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
Documentation: Docker Support #19
Comments
Interesting. I like this because for people who don't need to make changes to the software, it gets around all of the pain of getting the native node modules to compile with a specific Node version. It's also a pleasant surprise that the bluetooth stack is accessible in the container. It would be nice to just build an "official" container and put it in a public registry, though GitHub's Runners appear to only support x86 right now and I don't think there is an easy free way to do this in ARM with a self-hosted runner. I'll give this some more thought if there is a better way to incorporate this. |
It would be simple enough to create a DOCKER.md file with this information and just link to it from the README.md. If you create a Docker Hub repo for this, I would be willing to upload images for this. You may want to start creating releases in Github to match the docker image releases as well. Beyond this, there are many things that can be done to improve the MQTT compatibility and also ways to tweak the Docker image to make it much more user friendly. I'm open to submitting merge requests. |
Turns out I was wrong earlier, I think for this container to be generally friendly to use, cloudbbq would need a better configuration system (Kinda like what Spring Boot does) that can load from both a config file or from environmental variables. Also, I'm interested in what MQTT changes you'd like to see. In the past I tried to get it to work with AWS IoT Core but couldn't get past their more complex auth system at the time. |
After some fiddling, I found a way to build a Docker container for this. Docker my preferred way to run this, even on a Raspberry Pi. Some people might find this useful, too:
Dockerfile
docker-entrypoint.sh
docker-compose.yml
The text was updated successfully, but these errors were encountered: