r/unifi: Switching to custom container image
The _linuxserver.io_ image for UniFi Network is deprecated. It sucked anyway. I've created a simple image based on Debian that installs the _unifi_ package from the upstream apt repository. This image doesn't require running anything as _root_, so it doesn't need a user namespace.
parent
fd59f3ebb2
commit
8d0c472486
|
@ -1,5 +1,5 @@
|
||||||
unifi_version: latest
|
unifi_version: latest
|
||||||
unifi_container_image: lscr.io/linuxserver/unifi-controller
|
unifi_container_image: git.pyrocufflink.net/containerimages/unifi
|
||||||
unifi_storage_path: /var/lib/unifi
|
unifi_storage_path: /var/lib/unifi
|
||||||
|
|
||||||
unifi_exporter_container_image: docker.io/jessestuart/unifi_exporter
|
unifi_exporter_container_image: docker.io/jessestuart/unifi_exporter
|
||||||
|
|
|
@ -8,7 +8,8 @@ Image={{ unifi_container_image }}:{{ unifi_version }}
|
||||||
Volume={{ unifi_storage_path }}:/config:rw,Z
|
Volume={{ unifi_storage_path }}:/config:rw,Z
|
||||||
Network=host
|
Network=host
|
||||||
NoNewPrivileges=yes
|
NoNewPrivileges=yes
|
||||||
UserNS=auto:gidmapping=911:911:1,uidmapping=911:911:1
|
User=911
|
||||||
|
Group=911
|
||||||
VolatileTmp=yes
|
VolatileTmp=yes
|
||||||
Notify=yes
|
Notify=yes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue