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

Commit 2fed17b

Browse files
Bot Updating Templated Files
1 parent ed90f50 commit 2fed17b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ services:
9191
environment:
9292
- PUID=1000
9393
- PGID=1000
94-
- MEM_LIMIT=1024M #optional
95-
- MEM_STARTUP=1024M #optional
94+
- MEM_LIMIT=1024 #optional
95+
- MEM_STARTUP=1024 #optional
9696
volumes:
9797
- <path to data>:/config
9898
ports:
@@ -115,8 +115,8 @@ docker run -d \
115115
--name=unifi-controller \
116116
-e PUID=1000 \
117117
-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` \
120120
-p 3478:3478/udp \
121121
-p 10001:10001/udp \
122122
-p 8080:8080 \
@@ -148,8 +148,8 @@ Container images are configured using parameters passed at runtime (such as thos
148148
| `-p 5514/udp` | Remote syslog port |
149149
| `-e PUID=1000` | for UserID - see below for explanation |
150150
| `-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 |
153153
| `-v /config` | All Unifi data stored here |
154154

155155
## Environment variables from files (Docker secrets)
@@ -261,6 +261,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
261261

262262
## Versions
263263

264+
* **23.12.21:** - Move min/max memory config from run to system.properties.
264265
* **22.12.21:** - Move deb package install to first init to avoid overlayfs performance issues.
265266
* **13.12.21:** - Rebase 64 bit containers to Focal.
266267
* **11.12.21:** - Add java opts to mitigate CVE-2021-44228.

0 commit comments

Comments
 (0)