From 69e31f8a631ef745bfc995c8719be5b0580a0a36 Mon Sep 17 00:00:00 2001 From: Akbar Rahman Date: Thu, 11 Apr 2024 19:34:45 +0100 Subject: [PATCH] use table for environment variables --- readme.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index aaa66d5..2f99236 100644 --- a/readme.md +++ b/readme.md @@ -33,13 +33,14 @@ flag is not provided. docker-compose up -d --build -#### server environment variables +### server environment variables -- `SECRET` - the secret used for signature verification -- `LISTEN_ADDRESS` - the address the server is listening on (default is `0.0.0.0:80`) -- `INDEX_GET_REDIRECT` - the URL the user should be redirected to if they try to access `/` on the - server (default is `http://alv.cx`) -- `MAX_AGE_MS` - how old a request can be (in milliseconds) before the server will refuse to process it (default is 500 milliseconds) +| Variable | Default | Description | +|----------------------|-----------------|----------------------------------------------------------------------------------------| +| `SECRET` | N/A | the secret used for signature verification | +| `LISTEN_ADDRESS` | `0.0.0.0:80` | the address the server is listening on | +| `INDEX_GET_REDIRECT` | `http://alv.cx` | the URL the user should be redirected to if they try to access `/` on the server | +| `MAX_AGE_MS` | 500 | how old a request can be (in milliseconds) before the server will refuse to process it | ### setting up susmng