You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 7, 2024. It is now read-only.
If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support.
4
+
<!--- If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. --->
5
+
6
+
<!--- If this acts as a feature request please ask yourself if this modification is something the whole userbase will benefit from --->
7
+
<!--- If this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
5
8
6
9
<!--- Provide a general summary of the issue in the Title above -->
7
10
@@ -22,9 +25,10 @@ If you are new to Docker or this application our issue tracker is **ONLY** used
22
25
4.
23
26
24
27
## Environment
25
-
**OS:**
26
-
**CPU architecture:** x86_64/arm32/arm64
27
-
**How docker service was installed:**
28
+
**OS:**
29
+
**CPU architecture:** x86_64/arm32/arm64
30
+
**How docker service was installed:**
31
+
<!--- ie. from the official docker repo, from the distro repo, nas OS provided, etc. -->
28
32
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
29
33
30
34
## Command used to create docker container (run/create/compose/screenshot)
<!--- Before submitting a pull request please check the following -->
8
8
9
-
<!--- If this is a fix for a typo in code or documentation in the README please file an issue and let us sort it out we do not need a PR -->
9
+
<!--- If this is a fix for a typo in code or documentation in the README please file an issue and let us sort it out we do not need a PR -->
10
10
<!--- Ask yourself if this modification is something the whole userbase will benefit from, if this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
11
11
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
12
12
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
@@ -21,7 +21,11 @@
21
21
22
22
------------------------------
23
23
24
-
We welcome all PR’s though this doesn’t guarantee it will be accepted.
24
+
-[ ] I have read the [contributing](https://github.com/linuxserver/docker-unifi-controller/blob/master/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
25
+
26
+
------------------------------
27
+
28
+
<!--- We welcome all PR’s though this doesn’t guarantee it will be accepted. -->
Copy file name to clipboardExpand all lines: .github/workflows/greetings.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,6 @@ jobs:
8
8
steps:
9
9
- uses: actions/first-interaction@v1
10
10
with:
11
-
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [issue template](https://github.com/linuxserver/docker-unifi-controller/.github/ISSUE_TEMPLATE.md)!'
12
-
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-unifi-controller/.github/PULL_REQUEST_TEMPLATE.md)!'
11
+
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [issue template](https://github.com/linuxserver/docker-unifi-controller/blob/master/.github/ISSUE_TEMPLATE.md)!'
12
+
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-unifi-controller/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
[](https://blog.linuxserver.io"all the things you can do with our containers including How-To guides, opinions and much more!")
@@ -59,10 +62,39 @@ The architectures supported by this image are:
59
62
60
63
Here are some example snippets to help you get started creating a container.
@@ -96,35 +128,6 @@ This image provides various versions that are available via tags. `latest` tag p
96
128
When using a Security Gateway (router) it could be that network connected devices are unable to obtain an ip address. This can be fixed by setting "DHCP Gateway IP", under Settings > Networks > network_name, to a correct (and accessable) ip address.
97
129
98
130
99
-
### docker-compose
100
-
101
-
Compatible with docker-compose v2 schemas.
102
-
103
-
```
104
-
---
105
-
version: "2.1"
106
-
services:
107
-
unifi-controller:
108
-
image: linuxserver/unifi-controller
109
-
container_name: unifi-controller
110
-
environment:
111
-
- PUID=1000
112
-
- PGID=1000
113
-
- MEM_LIMIT=1024M #optional
114
-
volumes:
115
-
- <path to data>:/config
116
-
ports:
117
-
- 3478:3478/udp
118
-
- 10001:10001/udp
119
-
- 8080:8080
120
-
- 8081:8081
121
-
- 8443:8443
122
-
- 8843:8843
123
-
- 8880:8880
124
-
- 6789:6789
125
-
restart: unless-stopped
126
-
```
127
-
128
131
## Parameters
129
132
130
133
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
@@ -194,9 +197,9 @@ Use `ubnt` as the password to login and `$address` is the IP address of the host
194
197
195
198
196
199
## Docker Mods
197
-
[](https://mods.linuxserver.io/?mod=unifi-controller"view available mods for this container.")
200
+
[](https://mods.linuxserver.io/?mod=unifi-controller"view available mods for this container.")[](https://mods.linuxserver.io/?mod=universal"view available universal mods.")
198
201
199
-
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) can be accessed via the dynamic badge above.
202
+
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
200
203
201
204
202
205
## Support Info
@@ -214,33 +217,34 @@ Most of our images are static, versioned, and require an image update and contai
214
217
215
218
Below are the instructions for updating containers:
216
219
217
-
### Via Docker Run/Create
218
-
* Update the image: `docker pull linuxserver/unifi-controller`
219
-
* Stop the running container: `docker stop unifi-controller`
220
-
* Delete the container: `docker rm unifi-controller`
221
-
* Recreate a new container with the same docker create parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
222
-
* Start the new container: `docker start unifi-controller`
223
-
* You can also remove the old dangling images: `docker image prune`
224
-
225
220
### Via Docker Compose
226
221
* Update all images: `docker-compose pull`
227
222
* or update a single image: `docker-compose pull unifi-controller`
228
223
* Let compose update all containers as necessary: `docker-compose up -d`
229
224
* or update a single container: `docker-compose up -d unifi-controller`
230
225
* You can also remove the old dangling images: `docker image prune`
231
226
232
-
### Via Watchtower auto-updater (especially useful if you don't remember the original parameters)
227
+
### Via Docker Run
228
+
* Update the image: `docker pull linuxserver/unifi-controller`
229
+
* Stop the running container: `docker stop unifi-controller`
230
+
* Delete the container: `docker rm unifi-controller`
231
+
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
232
+
* You can also remove the old dangling images: `docker image prune`
233
+
234
+
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
233
235
* Pull the latest image at its tag and replace it with the same env variables in one run:
234
236
```
235
237
docker run --rm \
236
238
-v /var/run/docker.sock:/var/run/docker.sock \
237
239
containrrr/watchtower \
238
240
--run-once unifi-controller
239
241
```
242
+
* You can also remove the old dangling images: `docker image prune`
240
243
241
-
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using Docker Compose.
244
+
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
242
245
243
-
* You can also remove the old dangling images: `docker image prune`
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
0 commit comments