Docker'ise PiStar instead of full install?
Posted: Sat Jan 26, 2019 3:55 pm
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
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