aboutsummaryrefslogtreecommitdiff
path: root/docker/birgitte/unifi
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2020-03-13 22:59:02 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2020-03-13 22:59:02 +0100
commitdf500e4e591fdbd6f384d0b77137dd5916de6b68 (patch)
treecdee8fdc91fa875aea4684c0eabb6d52cd4a0d20 /docker/birgitte/unifi
parent55ec1e3578973f0c07be9010ae46a435addbc46e (diff)
downloadinfra-df500e4e591fdbd6f384d0b77137dd5916de6b68.tar.gz
infra-df500e4e591fdbd6f384d0b77137dd5916de6b68.tar.bz2
infra-df500e4e591fdbd6f384d0b77137dd5916de6b68.tar.xz
infra-df500e4e591fdbd6f384d0b77137dd5916de6b68.zip
docker
Diffstat (limited to 'docker/birgitte/unifi')
-rw-r--r--docker/birgitte/unifi/docker-compose.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/docker/birgitte/unifi/docker-compose.yaml b/docker/birgitte/unifi/docker-compose.yaml
new file mode 100644
index 0000000..66efd33
--- /dev/null
+++ b/docker/birgitte/unifi/docker-compose.yaml
@@ -0,0 +1,28 @@
+---
+version: "3"
+services:
+ unifi-controller:
+ image: linuxserver/unifi-controller
+ container_name: unifi-controller
+ environment:
+ - PUID=1000
+ - PGID=1000
+ - MEM_LIMIT=256M #optional
+ volumes:
+ - unifi-controller-data:/config
+ ports:
+ - 3478:3478/udp
+ - 10001:10001/udp
+ - 8080:8080
+ - 8081:8081
+ - 8443:8443
+ - 8843:8843
+ - 8880:8880
+ - 6789:6789
+ network_mode: "host"
+ restart: unless-stopped
+
+volumes:
+ unifi-controller-data:
+ external:
+ name: unifi-controller-data