Initial commit

This commit is contained in:
Ryan Harg 2023-11-07 10:40:12 +00:00
commit ce0b720528
3 changed files with 34 additions and 0 deletions

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
conf/
data/
lib/
log/
run/

4
README.md Normal file
View file

@ -0,0 +1,4 @@
Configuration for a local Unifi controller setup
================================================
This repository contains a docker compose file for a local unifi controller setup.

25
docker-compose.yml Normal file
View file

@ -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'