Skip to content

Commit 99de765

Browse files
authored
Correct redis config instructions in bot guide
1 parent 435c785 commit 99de765

File tree

1 file changed

+1
-1
lines changed
  • pydis_site/apps/content/resources/guides/pydis-guides/contributing

1 file changed

+1
-1
lines changed

pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ In [Configure the Bot](#configyml) you were asked to set `bot.redis.use_fakeredi
607607
If you are working on a feature that relies on Redis, you will need to enable Redis to make sure persistency is achieved for the feature across restarts. The first step towards that is going to `config.yml` and setting `bot.redis.use_fakeredis` to `false`.
608608

609609
#### Starting Redis in Docker (Recommended)
610-
If you're using the Docker image provided in the project's Docker Compose, open your `config.yml` file, set `bot.redis.host` to `redis`, and `bot.redis.password` to `null`.
610+
If you're using the Docker image provided in the project's Docker Compose, open your `config.yml` file. If you're running the bot in Docker, set `bot.redis.host` to `redis`, and if you're running it on the host set it to `localhost`. Set `bot.redis.password` to `null`.
611611

612612
#### Starting Redis Using Other Methods
613613
You can run your own instance of Redis, but in that case you will need to correctly set `bot.redis.host` and `bot.redis.port`, and the `bot.redis.password` value in `config-default.yml` should not be overridden. Then, enter the `.env` file, and set `REDIS_PASSWORD` to whatever password you set.

0 commit comments

Comments
 (0)