mirror of
https://github.com/zedeus/nitter
synced 2024-11-22 01:45:22 +01:00
Clarify Redis requirement in Docker section
This commit is contained in:
parent
29534acf10
commit
2d3842944e
@ -103,7 +103,9 @@ performance reasons.
|
|||||||
|
|
||||||
### Docker
|
### 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:
|
To build and run Nitter in Docker:
|
||||||
```bash
|
```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:
|
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
|
```bash
|
||||||
docker-compose up -d
|
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
|
### systemd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user