Skip to content
This repository was archived by the owner on Jan 7, 2024. It is now read-only.

Commit 6612023

Browse files
authored
Merge pull request #43 from linuxserver/readme
fix readme-vars syntax
2 parents 55059d8 + 49f71bd commit 6612023

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

README.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Find us at:
3333
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/unifi-controller.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/linuxserver/unifi-controller)
3434
[![Docker Stars](https://img.shields.io/docker/stars/linuxserver/unifi-controller.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=stars&logo=docker)](https://hub.docker.com/r/linuxserver/unifi-controller)
3535
[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-unifi-controller%2Fjob%2Fmaster%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-unifi-controller/job/master/)
36-
[![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Flsio-ci.ams3.digitaloceanspaces.com%2Flspipepr%2Funifi-controller%2Flatest%2Fci-status.yml)](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/unifi-controller/latest/index.html)
36+
[![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Flsio-ci.ams3.digitaloceanspaces.com%2Flinuxserver%2Funifi-controller%2Flatest%2Fci-status.yml)](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/unifi-controller/latest/index.html)
3737

3838
The [Unifi-controller](https://www.ubnt.com/enterprise/#unifi) Controller software is a powerful, enterprise wireless software engine ideal for high-density client deployments requiring low latency and high uptime performance.
3939

@@ -70,11 +70,12 @@ docker create \
7070
-p 3478:3478/udp \
7171
-p 10001:10001/udp \
7272
-p 8080:8080 \
73-
-p 8081:8081 \
7473
-p 8443:8443 \
75-
-p 8843:8843 \
76-
-p 8880:8880 \
77-
-p 6789:6789 \
74+
-p 1900:1900/udp `#optional` \
75+
-p 8843:8843 `#optional` \
76+
-p 8880:8880 `#optional` \
77+
-p 6789:6789 `#optional` \
78+
-p 5514:5514 `#optional` \
7879
-v <path to data>:/config \
7980
--restart unless-stopped \
8081
linuxserver/unifi-controller
@@ -117,11 +118,12 @@ services:
117118
- 3478:3478/udp
118119
- 10001:10001/udp
119120
- 8080:8080
120-
- 8081:8081
121121
- 8443:8443
122-
- 8843:8843
123-
- 8880:8880
124-
- 6789:6789
122+
- 1900:1900/udp #optional
123+
- 8843:8843 #optional
124+
- 8880:8880 #optional
125+
- 6789:6789 #optional
126+
- 5514:5514 #optional
125127
restart: unless-stopped
126128
```
127129

@@ -131,14 +133,15 @@ Container images are configured using parameters passed at runtime (such as thos
131133

132134
| Parameter | Function |
133135
| :----: | --- |
134-
| `-p 3478/udp` | Unifi communication port |
135-
| `-p 10001/udp` | required for AP discovery |
136-
| `-p 8080` | required for Unifi to function |
137-
| `-p 8081` | Unifi communication port |
138-
| `-p 8443` | Unifi communication port |
139-
| `-p 8843` | Unifi communication port |
140-
| `-p 8880` | Unifi communication port |
141-
| `-p 6789` | For throughput test |
136+
| `-p 3478/udp` | Unifi STUN port |
137+
| `-p 10001/udp` | Required for AP discovery |
138+
| `-p 8080` | Required for device communication |
139+
| `-p 8443` | Unifi web admin port |
140+
| `-p 1900/udp` | Required for `Make controller discoverable on L2 network` option |
141+
| `-p 8843` | Unifi guest portal HTTPS redirect port |
142+
| `-p 8880` | Unifi guest portal HTTP redirect port |
143+
| `-p 6789` | For mobile throughput test |
144+
| `-p 5514` | Remote syslog port |
142145
| `-e PUID=1000` | for UserID - see below for explanation |
143146
| `-e PGID=1000` | for GroupID - see below for explanation |
144147
| `-e MEM_LIMIT=1024M` | Optionally change the Java memory limit (-Xmx) (default is 1024M). |
@@ -186,7 +189,6 @@ Alternatively to manually adopt a device take these steps:
186189

187190
```
188191
ssh ubnt@$AP-IP
189-
mca-cli
190192
set-inform http://$address:8080/inform
191193
```
192194

@@ -263,6 +265,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
263265

264266
## Versions
265267

268+
* **02.06.20:** - Updated port list & descriptions. Moved some ports to optional.
266269
* **14.11.19:** - Changed url for deb package to match new Ubiquity domain.
267270
* **29.07.19:** - Allow for changing Java mem limit via new optional environment variable.
268271
* **23.03.19:** - Switching to new Base images, shift to arm32v7 tag.

readme-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ param_usage_include_env: false
5454

5555
opt_param_usage_include_ports: true
5656
opt_param_ports:
57-
- { external_port: "1900", internal_port: "1900/udp", port_desc: "Required for "Make controller discoverable on L2 network" option" }
57+
- { external_port: "1900", internal_port: "1900/udp", port_desc: "Required for `Make controller discoverable on L2 network` option" }
5858
- { external_port: "8843", internal_port: "8843", port_desc: "Unifi guest portal HTTPS redirect port" }
5959
- { external_port: "8880", internal_port: "8880", port_desc: "Unifi guest portal HTTP redirect port" }
6060
- { external_port: "6789", internal_port: "6789", port_desc: "For mobile throughput test" }

0 commit comments

Comments
 (0)