summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFelix Ableitner <me@nutomic.com>2019-12-28 12:11:06 +0100
committerFelix Ableitner <me@nutomic.com>2019-12-28 12:11:06 +0100
commita3065ed39f871e251d2e3762219c78859cb51f06 (patch)
tree165e86def275e250d2ab3c5f89c460c3208ca396 /README.md
parentb7c24a372bfe80057d71edef856afd985714f660 (diff)
Fix overriding config vars with underscore from environment
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index fa35788d..143bfaa7 100644
--- a/README.md
+++ b/README.md
@@ -231,7 +231,7 @@ into your local `config.hjson` file.
Additionally, you can override any config files with environment variables. These have the same name as the config
options, and are prefixed with `LEMMY_`. For example, you can override the `database.password` with
-`LEMMY_DATABASE_PASSWORD=my_password`.
+`LEMMY__DATABASE__POOL_SIZE=10`.
An additional option `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.