From f2f9e2ad086c68443c3457a82cf2e368aaa4bc99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milien=20Devos?= Date: Tue, 12 Jul 2022 08:36:14 +0200 Subject: [PATCH] Add explanation about how to access the logs --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 43316d1..c46a186 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,14 @@ Create a new SearXNG instance in five minutes using Docker - Check everything is working: ```docker-compose up``` - 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 You can skip this step if you don't use systemd. @@ -64,4 +72,4 @@ docker-compose up To update this `docker-compose.yml` file: -Check out the newest version on github: [searxng/searxng-docker](https://github.com/searxng/searxng-docker). \ No newline at end of file +Check out the newest version on github: [searxng/searxng-docker](https://github.com/searxng/searxng-docker).