diff --git a/README.md b/README.md index 460ce21..88e408e 100644 --- a/README.md +++ b/README.md @@ -117,23 +117,18 @@ Docker. To build and run Nitter in Docker: ```bash docker build -t nitter:latest . -docker run -v $(pwd)/nitter.conf:/src/nitter.conf -d --network host nitter:latest +docker run -v $(pwd)/nitter.conf:/src/nitter.conf -d -p 8080:8080 nitter:latest ``` -A prebuilt Docker image is provided as well: -```bash -docker run -v $(pwd)/nitter.conf:/src/nitter.conf -d --network host zedeus/nitter:latest -``` +A prebuilt Docker image is provided as well: https://hub.docker.com/r/zedeus/nitter + +Either clone the repository, or download both the `docker-compose.yml` file and the `nitter.conf` file to the same folder -Using docker-compose to run both Nitter and Redis as different containers: Change `redisHost` from `localhost` to `nitter-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. - ### systemd To run Nitter via systemd you can use this service file: