Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions deployment/.template.env
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ LOGROTATE_COPIES=14
LOGROTATE_SIZE=100M
# log rotate interval check
LOGROTATE_INTERVAL=daily
# log rotate cron schedule (uncomment to enable override the interval)
# go-cron format e.g. 0 */15 * * * * for every 15 minutes
# LOGROTATE_CRONSCHEDULE=

# --------------------------------
# ---------- APP DOMAIN ----------
Expand Down
4 changes: 4 additions & 0 deletions deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,7 @@ services:
- LOGROTATE_COPIES=${LOGROTATE_COPIES:-14}
- LOGROTATE_SIZE=${LOGROTATE_SIZE:-10M}
- LOGROTATE_INTERVAL=${LOGROTATE_INTERVAL:-daily}
# Logrotate cron schedule to override LOGROTATE_INTERVAL (optional)
# Format go-cron 6-field: second minute hour day month weekday
# e.g. 0 */15 * * * * for every 15 minutes
- LOGROTATE_CRONSCHEDULE=${LOGROTATE_CRONSCHEDULE}
2 changes: 1 addition & 1 deletion deployment/docker/uwsgi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ logto = /tmp/django.log
memory-report = true
harakiri = 2400
buffer-size = 8192
# disable-logging = True
disable-logging = True
Loading