From ce0b7205286a0cbede1f8ec9985228686b80d027 Mon Sep 17 00:00:00 2001 From: Ryan Harg Date: Tue, 7 Nov 2023 10:40:12 +0000 Subject: [PATCH] Initial commit --- .gitignore | 5 +++++ README.md | 4 ++++ docker-compose.yml | 25 +++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7f43d44 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +conf/ +data/ +lib/ +log/ +run/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..2fb0aed --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +Configuration for a local Unifi controller setup +================================================ + +This repository contains a docker compose file for a local unifi controller setup. diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c3e9a30 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +version: '2' +services: + unifi-controller: + container_name: unifi-controller + image: jacobalberty/unifi:v7.5.176 + restart: always + volumes: + - './data:/var/run/data' + - './lib:/var/lib/unifi' + - './log:/var/log/unifi' + - './run:/var/run/unifi' + ports: + - '3478:3478/udp' + - '10001:10001/udp' + - '6789:6789/tcp' + - '8080:8080/tcp' + - '8880:8880/tcp' + - '8443:8443/tcp' + - '8843:8843/tcp' + networks: + - default + environment: + - TZ=Europe/Berlin + labels: + - 'unifi-controller'