From 2d3842944eec013359537b96340a6cd11086266d Mon Sep 17 00:00:00 2001 From: Zed Date: Mon, 27 Dec 2021 04:14:29 +0100 Subject: [PATCH] Clarify Redis requirement in Docker section --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 59cb854..6e37571 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,9 @@ performance reasons. ### Docker -To run Nitter with Docker, you'll need to install Redis before you run these commands. +To run Nitter with Docker, you'll need to install and run Redis separately +before you can run the container. See below for how to also run Redis using +Docker. To build and run Nitter in Docker: ```bash @@ -117,12 +119,13 @@ docker run -v $(pwd)/nitter.conf:/src/nitter.conf -d --network host zedeus/nitte ``` Using docker-compose to run both Nitter and Redis as different containers: -Change redisHost from `localhost` to `redis` in `nitter.conf` and then run: +Change `redisHost` from `localhost` to `redis` in `nitter.conf`, then run: ```bash docker-compose up -d ``` -Note the Docker commands expect a `nitter.conf` file in the directory you run them. +Note the Docker commands expect a `nitter.conf` file in the directory you run +them. ### systemd