This repository was archived by the owner on Jan 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ services:
9191 environment :
9292 - PUID=1000
9393 - PGID=1000
94+ - TZ=Europe/London
9495 - MEM_LIMIT=1024 # optional
9596 - MEM_STARTUP=1024 # optional
9697 volumes :
@@ -115,6 +116,7 @@ docker run -d \
115116 --name=unifi-controller \
116117 -e PUID=1000 \
117118 -e PGID=1000 \
119+ -e TZ=Europe/London \
118120 -e MEM_LIMIT=1024 `#optional` \
119121 -e MEM_STARTUP=1024 `#optional` \
120122 -p 8443:8443 \
@@ -148,6 +150,7 @@ Container images are configured using parameters passed at runtime (such as thos
148150| ` -p 5514/udp ` | Remote syslog port |
149151| ` -e PUID=1000 ` | for UserID - see below for explanation |
150152| ` -e PGID=1000 ` | for GroupID - see below for explanation |
153+ | ` -e 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 ) |
151154| ` -e MEM_LIMIT=1024 ` | Optionally change the Java memory limit. Set to ` default ` to reset to default |
152155| ` -e MEM_STARTUP=1024 ` | Optionally change the Java initial/minimum memory. Set to ` default ` to reset to default |
153156| ` -v /config ` | All Unifi data stored here |
You can’t perform that action at this time.
0 commit comments