Skip to content

Commit

Permalink
Merge pull request #5 from mocdaniel/readme
Browse files Browse the repository at this point in the history
Add documentation for new CLI arguments
  • Loading branch information
mocdaniel authored Jan 9, 2023
2 parents a2fe0c2 + 6572cb7 commit 3be9060
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 3be9060

Please sign in to comment.