This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change
1
+ Add ability to change Docker containers [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) with the `TZ` variable.
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ RUN apk add --no-cache --virtual .runtime_deps \
66
66
libpq \
67
67
zlib \
68
68
su-exec \
69
+ tzdata \
69
70
xmlsec
70
71
71
72
COPY --from=builder /install /usr/local
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ The following environment variables are supported in `generate` mode:
63
63
* ` UID ` , ` GID ` : the user id and group id to use for creating the data
64
64
directories. Defaults to ` 991 ` , ` 991 ` .
65
65
66
-
67
66
## Running synapse
68
67
69
68
Once you have a valid configuration file, you can start synapse as follows:
@@ -91,6 +90,7 @@ The following environment variables are supported in run mode:
91
90
* ` SYNAPSE_CONFIG_PATH ` : path to the config file. Defaults to
92
91
` <SYNAPSE_CONFIG_DIR>/homeserver.yaml ` .
93
92
* ` UID ` , ` GID ` : the user and group id to run Synapse as. Defaults to ` 991 ` , ` 991 ` .
93
+ * ` TZ ` : the [ timezone] ( https://en.wikipedia.org/wiki/List_of_tz_database_time_zones ) the container will run with. Defaults to ` UTC ` .
94
94
95
95
## TLS support
96
96
You can’t perform that action at this time.
0 commit comments