From 025a2e9de4636bd73268d6e6eb64d432f4c225b3 Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Fri, 24 Dec 2021 20:48:21 +0100 Subject: [PATCH] Bot Updating Documentation --- images/docker-unifi-controller.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/images/docker-unifi-controller.md b/images/docker-unifi-controller.md index 22f9cbcbe..b17c9294b 100644 --- a/images/docker-unifi-controller.md +++ b/images/docker-unifi-controller.md @@ -66,8 +66,8 @@ services: environment: - PUID=1000 - PGID=1000 - - MEM_LIMIT=1024M #optional - - MEM_STARTUP=1024M #optional + - MEM_LIMIT=1024 #optional + - MEM_STARTUP=1024 #optional volumes: - :/config ports: @@ -90,8 +90,8 @@ docker run -d \ --name=unifi-controller \ -e PUID=1000 \ -e PGID=1000 \ - -e MEM_LIMIT=1024M `#optional` \ - -e MEM_STARTUP=1024M `#optional` \ + -e MEM_LIMIT=1024 `#optional` \ + -e MEM_STARTUP=1024 `#optional` \ -p 3478:3478/udp \ -p 10001:10001/udp \ -p 8080:8080 \ @@ -130,8 +130,8 @@ Docker images are configured using parameters passed at runtime (such as those a | :----: | --- | | `PUID=1000` | for UserID - see below for explanation | | `PGID=1000` | for GroupID - see below for explanation | -| `MEM_LIMIT=1024M` | Optionally change the Java memory limit (-Xmx) (default is 1024M). | -| `MEM_STARTUP=1024M` | Optionally change the Java initial memory (-Xms) (default is 1024M). | +| `MEM_LIMIT=1024` | Optionally change the Java memory limit. Set to `default` to reset to default | +| `MEM_STARTUP=1024` | Optionally change the Java initial/minimum memory. Set to `default` to reset to default | ### Volume Mappings (`-v`) @@ -193,6 +193,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to ## Versions +* **23.12.21:** - Move min/max memory config from run to system.properties. * **22.12.21:** - Move deb package install to first init to avoid overlayfs performance issues. * **13.12.21:** - Rebase 64 bit containers to Focal. * **11.12.21:** - Add java opts to mitigate CVE-2021-44228.