Add explanation about how to access the logs

This commit is contained in:
Émilien Devos 2022-07-12 08:36:14 +02:00 committed by GitHub
parent b1b174a339
commit f2f9e2ad08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,14 @@ Create a new SearXNG instance in five minutes using Docker
- Check everything is working: ```docker-compose up``` - Check everything is working: ```docker-compose up```
- Run SearXNG in the background: ```docker-compose up -d``` - Run SearXNG in the background: ```docker-compose up -d```
## How to access the logs
To access the logs from all the containers use: `docker-compose logs -f`.
To access the logs of one specific container:
- Caddy: `docker-compose logs -f caddy`
- SearXNG: `docker-compose logs -f searxng`
- Redis: `docker-compose logs -f redis`
### Start SearXNG with systemd ### Start SearXNG with systemd
You can skip this step if you don't use systemd. You can skip this step if you don't use systemd.