commit ce0b7205286a0cbede1f8ec9985228686b80d027 Author: Ryan Harg Date: Tue Nov 7 10:40:12 2023 +0000 Initial commit 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'