mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-18 15:25:41 +00:00
23 lines
1.1 KiB
Bash
23 lines
1.1 KiB
Bash
# The Unifi-controller Controller software is a powerful, enterprise wireless
|
|
# software engine ideal for high-density client deployments requiring low
|
|
# latency and high uptime performance.
|
|
|
|
source ./.env
|
|
docker run -d \
|
|
--name=unifi-controller \
|
|
-e PUID=${PUID:-1024} `# for GroupID` \
|
|
-e PGID=${PGID:-100} `# for UserID` \
|
|
-e MEM_LIMIT=1024M `# optional` `# Optionally change the Java memory limit (-Xmx) (default is 1024M).` \
|
|
-p 3478:3478/udp `# Unifi STUN port` \
|
|
-p 10001:10001/udp `# Required for AP discovery` \
|
|
-p 8080:8080 `# Required for device communication` \
|
|
-p 8443:8443 `# Unifi web admin port` \
|
|
-p 1900:1900/udp `# optional` `# Required for `Make controller discoverable on L2 network` option` \
|
|
-p 8843:8843 `# optional` `# Unifi guest portal HTTPS redirect port` \
|
|
-p 8880:8880 `# optional` `# Unifi guest portal HTTP redirect port` \
|
|
-p 6789:6789 `# optional` `# For mobile throughput test` \
|
|
-p 5514:5514/udp `# optional` `# Remote syslog port` \
|
|
-v ${BASEDIR:-/volume1/docker}/unifi-controller/config:/config `# All Unifi data stored here` \
|
|
--restart unless-stopped \
|
|
ghcr.io/linuxserver/unifi-controller
|