Newer unifi version
This commit is contained in:
parent
7788a0096d
commit
b27fe75c2e
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ Environment="HOME=/root"
|
|||
ExecStartPre=-/usr/bin/env sh -c '/usr/bin/env docker kill unifi 2>/dev/null'
|
||||
ExecStartPre=-/usr/bin/env sh -c '/usr/bin/env docker rm unifi 2>/dev/null'
|
||||
|
||||
ExecStart=/usr/bin/env docker run --rm --name unifi --log-driver=none -p 3478:3478/udp -p 8080:8080 -p 8443:8443 -p 6789:6789 -p 8843:8843 -p 8880:8880 -v unifi:/var/lib/unifi -v unifilog:/unifi -v unifirun:/var/run/unifi jacobalberty/unifi:stable-6
|
||||
ExecStart=/usr/bin/env docker run --rm --name unifi --log-driver=none -p 3478:3478/udp -p 8080:8080 -p 8443:8443 -p 6789:6789 -p 8843:8843 -p 8880:8880 -v unifi:/var/lib/unifi -v unifilog:/unifi -v unifirun:/var/run/unifi {{ unifi_version }}
|
||||
|
||||
ExecStop=-/usr/bin/env sh -c '/usr/bin/env docker kill unifi 2>/dev/null'
|
||||
ExecStop=-/usr/bin/env sh -c '/usr/bin/env docker rm unifi 2>/dev/null'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
unifi_hostname: unifi
|
||||
unifi_version: jacobalberty/unifi:stable-6
|
||||
unifi_version: jacobalberty/unifi:v7.1.61
|
||||
unifi_selinux: no
|
||||
unifi_bareos: no
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
source: 'pull'
|
||||
|
||||
- name: Ensure Unifi systemd is installed
|
||||
copy:
|
||||
template:
|
||||
src: files/unifi.service
|
||||
dest: /etc/systemd/system/unifi.service
|
||||
mode: 0644
|
||||
|
|
Loading…
Reference in a new issue