]> Untitled Git - lemmy.git/blobdiff - docs/src/administration_configuration.md
Isomorphic docker (#1124)
[lemmy.git] / docs / src / administration_configuration.md
index 56448de46e8ad60047b9db8c401c0fdfc977a762..0e730d3305352d3c40bf40b7b27f74fd4e29fea4 100644 (file)
@@ -1,10 +1,12 @@
 # Configuration
 
 The configuration is based on the file
-[defaults.hjson](https://yerbamate.dev/LemmyNet/lemmy/src/branch/master/server/config/defaults.hjson).
+[defaults.hjson](https://yerbamate.dev/LemmyNet/lemmy/src/branch/main/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.
 
+To use a different `config.hjson` location than the current directory, set the environment variable `LEMMY_CONFIG_LOCATION`. Make sure you copy the `defaults.hjson` if you do this, otherwise you will be missing settings.
+
 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`.