Skip to content

Commit aa6e687

Browse files
committed
docs: add missing environment variable
1 parent 744e0d9 commit aa6e687

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,20 @@ services:
5858
5959
## Environment variables
6060
61-
- `LOGS_DIRECTORIES` (required) — space separated directories to scan, e.g. "/var/log /var/lib/docker/containers"
62-
- `LOG_FILE_ENDINGS` — space separated file extensions (default: "log")
63-
- `LOGROTATE_INTERVAL` — hourly|daily|weekly|monthly|yearly (affects logrotate rules)
64-
- `LOGROTATE_CRONSCHEDULE` — cron expression for the schedule; default is suitable for interval
65-
- `LOGROTATE_COPIES` — number of rotated copies to keep (default 5)
66-
- `LOGROTATE_SIZE` — trigger rotate when file exceeds size (e.g. 100k, 10M)
67-
- `LOGROTATE_COMPRESSION` — set to "compress" to enable compression
68-
- `LOGROTATE_DELAYCOMPRESS` — "false" to disable default delaycompress (when compression enabled)
69-
- `LOGROTATE_MODE` — e.g. "create 0644" to change rotate mode (default: copytruncate)
70-
- `LOGROTATE_OLDDIR` — directory to move old logs into
71-
- `LOGROTATE_STATUSFILE` — path to logrotate status file
72-
- `LOGROTATE_PARAMETERS` — raw flags passed to logrotate (e.g. "vdf")
73-
- `LOGROTATE_PREROTATE_COMMAND` / `LOGROTATE_POSTROTATE_COMMAND` — scripts/commands to run
61+
- `LOGS_DIRECTORIES` (required) - space separated directories to scan, e.g. "/var/log /var/lib/docker/containers"
62+
- `LOG_FILE_ENDINGS` - space separated file extensions (default: "log")
63+
- `LOGROTATE_INTERVAL` - hourly|daily|weekly|monthly|yearly (affects logrotate rules)
64+
- `LOGROTATE_CRONSCHEDULE` - cron expression for the schedule; default is suitable for interval
65+
- `LOGROTATE_COPIES` - number of rotated copies to keep (default 5)
66+
- `LOGROTATE_SIZE` - trigger rotate when file exceeds size (e.g. 100k, 10M)
67+
- `LOGROTATE_COMPRESSION` - set to "compress" to enable compression
68+
- `LOGROTATE_DELAYCOMPRESS` - "false" to disable default delaycompress (when compression enabled)
69+
- `LOGROTATE_MODE` - e.g. "create 0644" to change rotate mode (default: copytruncate)
70+
- `LOGROTATE_OLDDIR` - directory to move old logs into
71+
- `LOGROTATE_STATUSFILE` - path to logrotate status file
72+
- `LOGROTATE_PARAMETERS` - raw flags passed to logrotate (e.g. "vdf")
73+
- `LOGROTATE_PREROTATE_COMMAND` / `LOGROTATE_POSTROTATE_COMMAND` - scripts/commands to run
74+
- `LOGROTATE_AUTOUPDATE` - regenerate logrotate configuration on each cron execution
7475

7576
## Examples & notes
7677

0 commit comments

Comments
 (0)