technicalpickles / picklehome

Configuration & Planning for my Home Automation systems
14 stars 0 forks source link

Use less `network_mode: host`, clean out old things, prepare for unifi #77

Closed technicalpickles closed 5 years ago

technicalpickles commented 5 years ago

Originally started this out for https://github.com/technicalpickles/picklehome/issues/73 . The use of network_mode: host caused some problems using it initially, because cadadvisor was already using port 8080, and unifi wanted it too.

I dropped a few of the containers to regular type networking which allowed that to proceed. Basically, for places that need access to the host's ports, I add an extra_hosts entry. For readability, I use the same name of the container that provides the thing.

I did get the unifi controller running, but I had problems with adopting the first switch. Between that, and separating concerns, I ended up picking up a unifi cloud key.