add log rotate
Build and Deploy Docker / build (push) Successful in 1m42s
Build and Deploy Docker / deploy (push) Has been cancelled

This commit is contained in:
2026-06-30 13:15:45 +02:00
parent c3896d20a1
commit bd25995d0a
5 changed files with 82 additions and 49 deletions
+2 -1
View File
@@ -10,7 +10,8 @@ services:
bash -c "printenv > /etc/environment && cron -f"
volumes:
- ./project:/var/www/html
- ./logs/cron.log:/var/log/cron.log
- ./logs/:/var/log/cron
- ./service/logrotate:/etc/logrotate.d/cron-log
environment:
DYNDNS_USER: "${DYNDNS_USER}"
DYNDNS_PASSWORD: "${DYNDNS_PASSWORD}"