From 31bbed9c02f04c706ccee5e35b6b8d83b0d360d4 Mon Sep 17 00:00:00 2001 From: Paige Thompson Date: Sun, 5 Jan 2025 09:38:36 -0800 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 73d0205..c813228 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,15 @@ mileage may vary if you change the intended network driver for Docker. There are - inspircd autoloads any `.conf` file from the `custom/` directory (it's mapped into the container from the `docker-compose.yml` file. - Environment variables are referenced in the configuration files using `&env.ENV_VAR_NAME;` and this usage can be found throughout the configuration. - Changing the `config.env` means that the container must be re-created: `docker-compose up -d` - + +When editing configuration, use generated passwords everywhere possible: + +``` +echo $(dd if=/dev/urandom bs=1024 count=1 status=none | sha256sum | base64 | head -c 64 +``` + +Some passwords need to be consistent (uplink send/recv passwords for example) across servers. + ## Hub - copy `config.env.example` to `config.env` and edit - copy `include.conf.example` to `custom/include.conf` and edit (don't delete) as much as possible for now