mirror of
https://github.com/linuxserver/docker-unifi-network-application.git
synced 2024-11-09 23:24:08 -08:00
Bot Updating Templated Files
This commit is contained in:
parent
a87ec4e287
commit
e0b85fe948
|
@ -150,6 +150,8 @@ services:
|
|||
- MONGO_DBNAME=unifi
|
||||
- MEM_LIMIT=1024 #optional
|
||||
- MEM_STARTUP=1024 #optional
|
||||
- MONGO_TLS= #optional
|
||||
- MONGO_AUTHSOURCE= #optional
|
||||
volumes:
|
||||
- /path/to/data:/config
|
||||
ports:
|
||||
|
@ -180,6 +182,8 @@ docker run -d \
|
|||
-e MONGO_DBNAME=unifi \
|
||||
-e MEM_LIMIT=1024 `#optional` \
|
||||
-e MEM_STARTUP=1024 `#optional` \
|
||||
-e MONGO_TLS= `#optional` \
|
||||
-e MONGO_AUTHSOURCE= `#optional` \
|
||||
-p 8443:8443 \
|
||||
-p 3478:3478/udp \
|
||||
-p 10001:10001/udp \
|
||||
|
@ -219,6 +223,8 @@ Containers are configured using parameters passed at runtime (such as those abov
|
|||
| `-e MONGO_DBNAME=unifi` | Mongodb Database Name (stats DB is automatically suffixed with `_stat`). Only evaluated on first run. |
|
||||
| `-e MEM_LIMIT=1024` | Optionally change the Java memory limit (in Megabytes). Set to `default` to reset to default |
|
||||
| `-e MEM_STARTUP=1024` | Optionally change the Java initial/minimum memory (in Megabytes). Set to `default` to reset to default |
|
||||
| `-e MONGO_TLS=` | Mongodb enable TLS. Only evaluated on first run. |
|
||||
| `-e MONGO_AUTHSOURCE=` | Mongodb authSource. For Atlas set to `admin`.Defaults to `MONGO_DBNAME`.Only evaluated on first run. |
|
||||
| `-v /config` | All Unifi data stored here |
|
||||
|
||||
## Environment variables from files (Docker secrets)
|
||||
|
@ -397,4 +403,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||
|
||||
## Versions
|
||||
|
||||
* **17.10.23:** - Add environment variables for TLS and authSource to support Atlas and new MongoDB versions.
|
||||
* **05.09.23:** - Initial release.
|
||||
|
|
Loading…
Reference in a new issue