Two root causes: 1. Docker/compose.debug.yml volume mount ./Docker/logs was already correct (./logs) — no change needed there. 2. Docker/logs/access.log did not exist on first checkout because *.log is gitignored. fail2ban fails to start if the file is absent. Fix: touch Docker/logs/access.log and auth.log in the Makefile 'up' target so both stub files are always created before the stack starts, regardless of whether they were previously generated by simulation scripts.
2.9 KiB
2.9 KiB