simplemonitor icon indicating copy to clipboard operation
simplemonitor copied to clipboard

docker support

Open ccremer opened this issue 8 years ago • 4 comments

Hi there

I just wanted to inform you that I created a docker image for this project. It's available on Docker Hub or on github. If you make you own build, you can connect docker hub with github so that a new image gets automatically built upon pushing or tagging a commit.

cheers

ccremer avatar Aug 10 '17 22:08 ccremer

This is cool, I shall have to have a play :) Thanks!

jamesoff avatar Aug 10 '17 22:08 jamesoff

Well I had a play with it and made it run (I've not used docker-compose before), seems like a nice setup.

Mind if I link to your image on Docker hub in the docs?

jamesoff avatar Aug 20 '17 20:08 jamesoff

sure, no problem. I only use compose. It's much easier to store all the configuration in files than to remember the commands for all the ~20 containers I'm running.

Do you use an IDE? e.g. PyCharm CE features a docker plugin which allows you to build the container directly from the git repo. Instead of git clone in the image layers one can directly add/copy the relevant files.

Personally I recommend Docker Cloud over Hub, which allows better build automation settings than Docker Hub, but the image get pushed to Docker Store and Hub. Setup an automated build in Hub, then login in Cloud and modify the settings there. Deactivate the automated build settings in Hub. When you commit to the selected branch or by tag, Cloud picks up the git repo and builds it immediately. Does that make sense? ^^

Feel free to copy my Dockerfile to get you started.

ccremer avatar Aug 20 '17 21:08 ccremer

vim 4 lyfe :P

I'll have a play around... I've used docker a little mostly just for automated tested of Chef cookbooks, so generally it just fires up a single container :)

jamesoff avatar Aug 20 '17 21:08 jamesoff