Something went wrong. Try again.
Docker files for the TLE Community deployment
Something went wrong. Try again.
deployment lacuna.logrotate
1.3 kB · 33 lines
at main
12345678910111213141516171819202122232425262728293031323334# logrotate configuration for The Lacuna Expanse server.## Consumed by the logrotate sidecar defined in ./docker-compose.yml, which# bind-mounts host ./log at /home/lacuna/server/log and this file at# /etc/logrotate.d/lacuna. (It can equally be installed as /etc/logrotate.d/lacuna# on a bare-metal host.) The paths below are the in-container log tree, which is# also the host ./log tree via the bind mount.## Every producer now writes into this tree:# server/ - the plack app (Log4perl FILE appender) + plackup framework noise# scheduler/ - schedule_{building,ship_arrival,captcha}.pl (via bin/run_scheduler.sh)# cron/ - the ofelia-driven bin/run_*.sh batch scripts# deploy/ - bin/deploy.pl# caddy/ - caddy access log (rotated by caddy's own log roller, not here)## copytruncate: plackup and the scheduler daemons hold their log handles open and# have no cross-container reopen signal; truncating in place on the shared bind# mount needs none./home/lacuna/server/log/server/*.log/home/lacuna/server/log/scheduler/*.log/home/lacuna/server/log/cron/*.log/home/lacuna/server/log/deploy/*.log{ daily rotate 14 missingok notifempty compress delaycompress copytruncate sharedscripts}