docker-swarm-review

This commit is contained in:
2026-05-13 15:23:46 +08:00
parent 33daa2864b
commit 95a34b2f89
128 changed files with 13062 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
/opt/logs/nginx/*.log {
daily
rotate 90
dateext
dateformat -%Y%m%d
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
docker kill --signal=USR1 $(docker ps -qf name=nginx-review) 2>/dev/null || true
endscript
}