mirror of
https://github.com/Thumbscrew/unifi-docker-compose.git
synced 2025-01-18 01:25:45 +00:00
add initial docker-compose files
This commit is contained in:
commit
9a1cfbe51e
6
.env
Normal file
6
.env
Normal 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
20
docker-compose.yaml
Normal 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
6
example.env
Normal file
@ -0,0 +1,6 @@
|
||||
VOLUME_PATH=/data/unifi
|
||||
TAG=latest
|
||||
PUID=1000
|
||||
PGID=1000
|
||||
HTTP_PORT=80
|
||||
HTTPS_PORT=443
|
Loading…
Reference in New Issue
Block a user