From 6572cb79816460b9e592d6ceff27de2d25dbc852 Mon Sep 17 00:00:00 2001 From: Daniel Bodky Date: Mon, 9 Jan 2023 10:42:14 +0100 Subject: [PATCH] Add documentation for new CLI arguments --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 618aae3..5a829a7 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ Usage of ./guestbook: --port int Webserver port (default 8080) --redis-host string Redis server address (default "localhost") --redis-port int Redis port (default 6379) + --redis-password string Redis password (default "") ``` ### Configuration via Environment Variables @@ -130,6 +131,7 @@ Instead of passing runtime configuration via the command line, environment varia | `GUESTBOOK_PORT` | Webserver port | | `GUESTBOOK_REDIS_HOST` | Redis server address | | `GUESTBOOK_REDIS_PORT` | Redis port | +| 'GUESTBOOK_REDIS_PASSWORD' | Redis password | ## Deployment