diff options
author | Felix Ableitner <me@nutomic.com> | 2019-12-28 12:11:06 +0100 |
---|---|---|
committer | Felix Ableitner <me@nutomic.com> | 2019-12-28 12:11:06 +0100 |
commit | a3065ed39f871e251d2e3762219c78859cb51f06 (patch) | |
tree | 165e86def275e250d2ab3c5f89c460c3208ca396 /README.md | |
parent | b7c24a372bfe80057d71edef856afd985714f660 (diff) |
Fix overriding config vars with underscore from environment
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |