@@ -91,8 +91,8 @@ services:
91
91
environment :
92
92
- PUID=1000
93
93
- PGID=1000
94
- - MEM_LIMIT=1024M # optional
95
- - MEM_STARTUP=1024M # optional
94
+ - MEM_LIMIT=1024 # optional
95
+ - MEM_STARTUP=1024 # optional
96
96
volumes :
97
97
- <path to data>:/config
98
98
ports :
@@ -115,8 +115,8 @@ docker run -d \
115
115
--name=unifi-controller \
116
116
-e PUID=1000 \
117
117
-e PGID=1000 \
118
- -e MEM_LIMIT=1024M `#optional` \
119
- -e MEM_STARTUP=1024M `#optional` \
118
+ -e MEM_LIMIT=1024 `#optional` \
119
+ -e MEM_STARTUP=1024 `#optional` \
120
120
-p 3478:3478/udp \
121
121
-p 10001:10001/udp \
122
122
-p 8080:8080 \
@@ -148,8 +148,8 @@ Container images are configured using parameters passed at runtime (such as thos
148
148
| ` -p 5514/udp ` | Remote syslog port |
149
149
| ` -e PUID=1000 ` | for UserID - see below for explanation |
150
150
| ` -e PGID=1000 ` | for GroupID - see below for explanation |
151
- | ` -e MEM_LIMIT=1024M ` | Optionally change the Java memory limit (-Xmx) ( default is 1024M). |
152
- | ` -e MEM_STARTUP=1024M ` | Optionally change the Java initial memory (-Xms) ( default is 1024M). |
151
+ | ` -e MEM_LIMIT=1024 ` | Optionally change the Java memory limit. Set to ` default ` to reset to default |
152
+ | ` -e MEM_STARTUP=1024 ` | Optionally change the Java initial/minimum memory. Set to ` default ` to reset to default |
153
153
| ` -v /config ` | All Unifi data stored here |
154
154
155
155
## Environment variables from files (Docker secrets)
@@ -261,6 +261,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
261
261
262
262
## Versions
263
263
264
+ * ** 23.12.21:** - Move min/max memory config from run to system.properties.
264
265
* ** 22.12.21:** - Move deb package install to first init to avoid overlayfs performance issues.
265
266
* ** 13.12.21:** - Rebase 64 bit containers to Focal.
266
267
* ** 11.12.21:** - Add java opts to mitigate CVE-2021 -44228.
0 commit comments