diff options
author | Parthiv Seetharaman <pachum99@myrdd.info> | 2022-01-18 11:34:17 -0800 |
---|---|---|
committer | Parthiv Seetharaman <pachum99@myrdd.info> | 2022-01-18 11:34:17 -0800 |
commit | 6c50a62830d41428dafd8ffc73de398ab41c08a8 (patch) | |
tree | dd331ad6ca7039224312e7b023d18fd5b41919ac | |
parent | fdf79bfbb92748c068df8d54d99f62289edfd4d4 (diff) |
README: refer to serviceConfig.EnvironmentFile
environmentFile option was removed in favor of serviceConfig for more
dynamic configuration
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |