diff --git a/images/docker-unifi-controller.md b/images/docker-unifi-controller.md index c27095867..d1c390e50 100644 --- a/images/docker-unifi-controller.md +++ b/images/docker-unifi-controller.md @@ -71,6 +71,7 @@ services: environment: - PUID=1000 - PGID=1000 + - TZ=Europe/London - MEM_LIMIT=1024 #optional - MEM_STARTUP=1024 #optional volumes: @@ -95,6 +96,7 @@ docker run -d \ --name=unifi-controller \ -e PUID=1000 \ -e PGID=1000 \ + -e TZ=Europe/London \ -e MEM_LIMIT=1024 `#optional` \ -e MEM_STARTUP=1024 `#optional` \ -p 8443:8443 \ @@ -135,6 +137,7 @@ 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 | +| `TZ=Europe/London` | Specify a timezone to use (e.g. Europe/London) - [see list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) | | `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 |