diff --git a/lsio/unifi-controller/docker-compose.yaml b/lsio/unifi-controller/docker-compose.yaml index d3aae66..d6bd306 100644 --- a/lsio/unifi-controller/docker-compose.yaml +++ b/lsio/unifi-controller/docker-compose.yaml @@ -13,6 +13,8 @@ services: - PUID=${PUID:-1024} # for GroupID - PGID=${PGID:-100} + # Specify a timezone to use for example Europe/Amsterdam + - TZ=${TZ:-Europe/Amsterdam} # Optionally change the Java memory limit. Set to `default` to reset to default - MEM_LIMIT=1024 # optional # Optionally change the Java initial/minimum memory. Set to `default` to reset to default diff --git a/lsio/unifi-controller/docker-run.sh b/lsio/unifi-controller/docker-run.sh index f087ed6..d53e404 100644 --- a/lsio/unifi-controller/docker-run.sh +++ b/lsio/unifi-controller/docker-run.sh @@ -7,6 +7,7 @@ docker run -d \ --name=unifi-controller \ -e PUID=${PUID:-1024} `# for UserID` \ -e PGID=${PGID:-100} `# for GroupID` \ + -e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \ -e MEM_LIMIT=1024 `# optional` `# Optionally change the Java memory limit. Set to `default` to reset to default` \ -e MEM_STARTUP=1024 `# optional` `# Optionally change the Java initial/minimum memory. Set to `default` to reset to default` \ -p 8443:8443 `# Unifi web admin port` \