mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-21 11:51:11 +00:00
document LEMMY_SMTP_PASSWORD (#224)
* document LEMMY_SMTP_PASSWORD * chore: format code
This commit is contained in:
parent
126d8032b0
commit
915d7d898b
1 changed files with 6 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue