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

Commit 3a82e93

Browse files
authored
add TZ parameter
1. shift existing `param_ports` into the _REQUIRED_ section of the file (they are not optional per their name) 2. enable `param_env_vars`, and add `TZ`
1 parent 7041b5e commit 3a82e93

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

readme-vars.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,22 @@ param_usage_include_vols: true
2222
param_volumes:
2323
- { vol_path: "/config", vol_host_path: "<path to data>", desc: "All Unifi data stored here" }
2424

25-
# optional container parameters
26-
opt_param_usage_include_env: true
27-
opt_param_env_vars:
28-
- { env_var: "MEM_LIMIT", env_value: "1024", desc: "Optionally change the Java memory limit. Set to `default` to reset to default" }
29-
- { env_var: "MEM_STARTUP", env_value: "1024", desc: "Optionally change the Java initial/minimum memory. Set to `default` to reset to default" }
30-
3125
param_usage_include_ports: true
3226
param_ports:
3327
- { external_port: "8443", internal_port: "8443", port_desc: "Unifi web admin port" }
3428
- { external_port: "3478", internal_port: "3478/udp", port_desc: "Unifi STUN port" }
3529
- { external_port: "10001", internal_port: "10001/udp", port_desc: "Required for AP discovery" }
3630
- { external_port: "8080", internal_port: "8080", port_desc: "Required for device communication" }
37-
param_usage_include_env: false
31+
32+
param_usage_include_env: true
33+
param_env_vars:
34+
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use (e.g. Europe/London) - [see list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)" }
35+
36+
# optional container parameters
37+
opt_param_usage_include_env: true
38+
opt_param_env_vars:
39+
- { env_var: "MEM_LIMIT", env_value: "1024", desc: "Optionally change the Java memory limit. Set to `default` to reset to default" }
40+
- { env_var: "MEM_STARTUP", env_value: "1024", desc: "Optionally change the Java initial/minimum memory. Set to `default` to reset to default" }
3841

3942
opt_param_usage_include_ports: true
4043
opt_param_ports:

0 commit comments

Comments
 (0)