From 6c50a62830d41428dafd8ffc73de398ab41c08a8 Mon Sep 17 00:00:00 2001 From: Parthiv Seetharaman Date: Tue, 18 Jan 2022 11:34:17 -0800 Subject: README: refer to serviceConfig.EnvironmentFile environmentFile option was removed in favor of serviceConfig for more dynamic configuration --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index d75517b..9648f05 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ and `startupScript` as `$REGISTRATION_FILE`. After this, a configuration file is generated based on the `settings` passed to the appservice. Environment variables are also substuted in with envsubst, -so the `environmentFile` option can be used to pass secrets for the appservice. +so the `serviceConfig.EnvironmentFile` option can be used to pass secrets for the appservice. ### Environment Variables These variables are available in your `startupScript` and `settings`(substituted in): @@ -60,6 +60,7 @@ These variables are available in your `startupScript` and `settings`(substituted - $DIR => Data directory of the appservice - $AS_TOKEN => Appservice token(needs to be kept secret) - $HS_TOKEN => Homeserver token(needs to be kept secret) + - Anything else in `serviceConfig.EnvironmentFile` ## Importing the module ### With Flakes -- cgit v1.2.3