ryansch / docker-unifi-rpi

Unifi Controller for Raspberry Pi 3+ and x86
https://hub.docker.com/r/ryansch/unifi-rpi/
347 stars 42 forks source link

Rely on docker-compose instead of systemd service #14

Closed philfreo closed 6 years ago

philfreo commented 6 years ago

This is just an initial attempt/idea of simplifying the setup flow here to take advantage of a restart policy and docker-compose. It also (IMO) takes better advantage of Docker by making as few assumptions and modifications to the host as possible.

The "Unifi Image Upgrade" instructions still need updating now. I also wasn't sure if you wanted to include force-recreate in docker-compose since you had it in unifi.service. But just creating this PR as a starting point for discussion about simplifying.

Closes #8

ryansch commented 6 years ago

@philfreo This is great!

ryansch commented 6 years ago

At this point I'd rather have the docs be docker specific and later add a "Getting started from scratch" section that talks about systemd, OpenRC, etc.