diff options
author | Dessalines <tyhou13@gmx.com> | 2020-06-27 10:08:09 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-06-27 10:08:09 -0400 |
commit | b6fc1959e6041cc9c6580f1db22a3359b2744c4c (patch) | |
tree | 2140a651cc8c204d5973d0ee35b01ff94f2c6b52 /docs | |
parent | 6df13643c368d3aaab3514129aee4d0b177ce2a5 (diff) | |
parent | 0c89de8065f7eada7f7d2e6b5d988fd15a250c6c (diff) |
Merge branch 'improve-config' of https://yerbamate.dev/LemmyNet/lemmy into improve-config
Diffstat (limited to 'docs')
-rw-r--r-- | docs/src/administration_configuration.md | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/docs/src/administration_configuration.md b/docs/src/administration_configuration.md index 8b523923..cc421b0b 100644 --- a/docs/src/administration_configuration.md +++ b/docs/src/administration_configuration.md @@ -1,13 +1,20 @@ # Configuration -The configuration is based on the file [defaults.hjson](https://raw.githubusercontent.com/LemmyNet/lemmy/master/server/config/defaults.hjson). This file also contains documentation for all the available options. To override the defaults, you can copy the options you want to change into your local `config.hjson` file. +The configuration is based on the file +[defaults.hjson](https://yerbamate.dev/LemmyNet/lemmy/src/branch/master/server/config/defaults.hjson). +This file also contains documentation for all the available options. To override the defaults, you +can copy the options you want to change 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__POOL_SIZE=10`. +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__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. +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. -If the Docker container is not used, manually create the database specified above by running the following commands: +If the Docker container is not used, manually create the database specified above by running the +following commands: ```bash cd server |