From 915d7d898b52e739b226184d34ef7cb0e5212b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82?= <30625554+n3oney@users.noreply.github.com> Date: Wed, 21 Jun 2023 19:13:54 +0200 Subject: [PATCH] document LEMMY_SMTP_PASSWORD (#224) * document LEMMY_SMTP_PASSWORD * chore: format code --- src/administration/configuration.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/administration/configuration.md b/src/administration/configuration.md index 10ed8c6..9f7d86d 100644 --- a/src/administration/configuration.md +++ b/src/administration/configuration.md @@ -2,7 +2,12 @@ The configuration is based on the file config.hjson, which is located by default at `config/config.hjson`. To change the default location, you can set the environment variable `LEMMY_CONFIG_LOCATION`. -An additional environment variable `LEMMY_DATABASE_URL` is available, which can be used with a PostgreSQL connection string like `postgres://lemmy:password@lemmy_db:5432/lemmy`, passing all connection details at once. +Additional environment variable are available: + +- `LEMMY_DATABASE_URL`, which can be used with a PostgreSQL connection string like `postgres://lemmy:password@lemmy_db:5432/lemmy`, passing all connection details at once, +- `LEMMY_SMTP_PASSWORD`, which can be used to set the password to authenticate with the SMTP server. + +Those environment variables will override values if specified in the config file. If the Docker container is not used, manually create the database specified above by running the following commands: