use table for environment variables

This commit is contained in:
Akbar Rahman 2024-04-11 19:34:45 +01:00
parent f3311b86d9
commit 69e31f8a63
Signed by: alvierahman90
GPG Key ID: 6217899F07CA2BDF

View File

@ -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