From a287df02339f077992804a6cd05e3e9a10cc999c Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 17 Jun 2018 12:40:34 -0500 Subject: [PATCH] change docs for grouped options --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 182b5941..c618025c 100644 --- a/README.md +++ b/README.md @@ -35,17 +35,18 @@ Remark42 is a self-hosted, lightweight, and simple (yet functional) comment engi | ------------------ | ------------------ | --------------------- | ---------------------------------------------- | | url | REMARK_URL | | url to remark42 server, _required_ | | secret | SECRET | | secret key, _required_ | -| bolt | BOLTDB_PATH | `./var` | path to data directory | +| store.bolt.path | STORE_BOLT_PATH | `./var` | path to data directory | +| store.bolt.timeout | STORE_BOLT_TIMEOUT | `30s` | boltdb access timeout | | site | SITE | `remark` | site name(s), _multi_ | | admin | ADMIN | | admin names (list of user ids), _multi_ | | admin-email | ADMIN_EMAIL | `admin@${REMARK_URL}` | admin email | | backup | BACKUP_PATH | `./var/backup` | backups location | | max-back | MAX_BACKUP_FILES | `10` | max backup files to keep | -| max-cache-items | MAX_CACHE_ITEMS | `1000` | max number of cached items, `0` - unlimited | -| max-cache-value | MAX_CACHE_VALUE | `65536` | max size of cached value, `0` - unlimited | -| max-cache-size | MAX_CACHE_SIZE | `50000000` | max size of all cached values, `0` - unlimited | -| avatars | AVATAR_STORE | `./var/avatars` | avatars location | -| avatars-rsz-lmt | AVATAR_RSZ_LMT | 0 | max image size for resizing avatars on save | +| cache.max.items | CACHE_MAX_ITEMS | `1000` | max number of cached items, `0` - unlimited | +| cache.max.value | CACHE_MAX_VALUE | `65536` | max size of cached value, `0` - unlimited | +| cache.max.size | CACHE_MAX_SIZE | `50000000` | max size of all cached values, `0` - unlimited | +| avatar.path | AVATAR_FS_PATH | `./var/avatars` | avatars location | +| avatar.rsz-lmt | AVATAR_RSZ_LMT | 0 | max image size for resizing avatars on save | | max-comment | MAX_COMMENT_SIZE | 2048 | comment's size limit | | auth.google.cid | AUTH_GOOGLE_CID | | Google OAuth client ID | | auth.google.csec | AUTH_GOOGLE_CSEC | | Google OAuth client secret |