Docker'ise PiStar instead of full install?

Suggest new features here
Post Reply
VA2ZAC
Posts: 15
Joined: Wed Apr 11, 2018 8:49 pm

Docker'ise PiStar instead of full install?

Post by VA2ZAC »

Have you considered changing the architecture of Pi-Star to break it into components that could be deployed as docker containers rather than a whole big installations?

I also use Home Assistant that runs on a HassOS, a hypervisor for docker containers on Pi. It makes it so much easier to do upgrades as you can just re-build a docker container, stop the old one and start the new one.

https://github.com/home-assistant/hassos

I was just reading the updated comments on the SSL request and that made me think of going this way. For example, you could then run the web front end via a NGINX or Apache container and it could talk to the back end MMDVM that could run in another container.

So you could have containers for all the parts of the system:
- web
- ssh
- mmdvm
- smb share
- DMR gateway and others
- php-fpm

And all these containers can talk to each, share file paths for configuration files (via volumes) and even access the hardware:

https://stackoverflow.com/questions/242 ... ial-device

I'd be curious to see what everyone thinks of this idea... This might be a Pi-Start 5.x idea though...!

Some reference material about Docker if anyone is curious:

https://github.com/veggiemonk/awesome-docker

- Zachary / VA2ZAC
73
WA1OKB
Posts: 14
Joined: Mon Mar 23, 2020 5:11 am

Re: Docker'ise PiStar instead of full install?

Post by WA1OKB »

"docker" and "easy" should never appear in the same post.... Everytime I've had to deal with Docker its been a total nightmare to get to function correctly.... I'd almost rather compile from source than have to deal with Docker.
User avatar
MW0MWZ
Site Admin
Posts: 1505
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Docker'ise PiStar instead of full install?

Post by MW0MWZ »

I have to say that the idea of pi-star running in docker, is (I think) I good idea...
however, updating that hot mess and actually making it all work nicely, and having everything to make it all work properly (and having MMDVMHost in a docker container, but able to use USB and serial devices) is all a frustrating pain - I've looked at this already - and its on the pile marked "yeah- one day..."
Andy

73 de MW0MWZ
http://pistar.uk
User avatar
G8SEZ
Posts: 553
Joined: Fri Apr 13, 2018 8:26 pm

Re: Docker'ise PiStar instead of full install?

Post by G8SEZ »

Whoever called it 'Docker' obviously never spent any time listening to the BBC news in the 1970s.

"Doesn't work? No surprise, they're always on strike."
--

Brian G8SEZ
Post Reply