From 9bd544f0d54885b0ac1683729db3b3622ec964d1 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sun, 6 Mar 2022 12:01:54 +0100 Subject: [PATCH] add env vars to readme --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 745e6ff..38e2a38 100644 --- a/README.md +++ b/README.md @@ -48,10 +48,13 @@ of the notes even if it tried to. ## Environment Variables -| Variable | Default | Description | -| ------------ | ----------------- | --------------------------------------------------------------------------------------- | -| `MEMCACHE` | `memcached:11211` | Memcached URL to connect to. | -| `SIZE_LIMIT` | `1 KiB` | Max size for body. Accepted values according to [byte-unit](https://docs.rs/byte-unit/) | +| Variable | Default | Description | +| ---------------- | ----------------- | --------------------------------------------------------------------------------------- | +| `MEMCACHE` | `memcached:11211` | Memcached URL to connect to. | +| `SIZE_LIMIT` | `1 KiB` | Max size for body. Accepted values according to [byte-unit](https://docs.rs/byte-unit/) | +| `MAX_VIEWS` | `100` | Maximal number of views. | +| `MAX_EXPIRATION` | `360` | Maximal expiration in minutes. | +| `ALLOW_ADVANCED` | `true` | Allow custom configuration. If set to `false` all notes will be one view only. | ## Deployment