add initial docker-compose files

This commit is contained in:
James 2022-05-28 14:26:41 +01:00
commit 9a1cfbe51e
3 changed files with 32 additions and 0 deletions

6
.env Normal file
View File

@ -0,0 +1,6 @@
VOLUME_PATH=/data/unifi
TAG=latest
PUID=1000
PGID=1000
HTTP_PORT=80
HTTPS_PORT=443

20
docker-compose.yaml Normal file
View File

@ -0,0 +1,20 @@
services:
unifi-controller:
container_name: unifi-controller
image: lscr.io/linuxserver/unifi-controller:${TAG}
restart: unless-stopped
volumes:
- ${VOLUME_PATH}:/config
environment:
PUID: ${PUID}
PGID: ${PGID}
ports:
- 3478:3478/udp
- 10001:10001/udp
- ${HTTP_PORT}:8080
- ${HTTPS_PORT}:8443
- 1900:1900/udp
- 8843:8843
- 8880:8880
- 6789:6789
- 5514:5514/udp

6
example.env Normal file
View File

@ -0,0 +1,6 @@
VOLUME_PATH=/data/unifi
TAG=latest
PUID=1000
PGID=1000
HTTP_PORT=80
HTTPS_PORT=443