summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFelix Ableitner <me@nutomic.com>2020-06-26 19:16:41 +0200
committerFelix Ableitner <me@nutomic.com>2020-06-26 19:16:41 +0200
commit0c89de8065f7eada7f7d2e6b5d988fd15a250c6c (patch)
treecf34ad3b9c8646de2add6358db1b09de8c0a6be9 /docs
parenta9d98fd09bc8cc337266c55a6f2a8e58a421d9aa (diff)
Fix previous comment, also fix link in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/src/administration_configuration.md17
1 files changed, 12 insertions, 5 deletions
diff --git a/docs/src/administration_configuration.md b/docs/src/administration_configuration.md
index 8900ce8d..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](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