Remote logs (SSHFS)
The container reads remote logs from host SSHFS mounts. SSH keys stay on the host; the container bind-mounts the directories read-only. Nothing is copied into the container.
1. Install SSHFS and allow other users
Section titled “1. Install SSHFS and allow other users”sudo apt-get install -y sshfssudo sed -i 's/^#\?user_allow_other.*/user_allow_other/' /etc/fuse.conf2. Mount each server’s logs on the host
Section titled “2. Mount each server’s logs on the host”Create mount directories and a systemd mount/automount unit per server so the mounts survive reboots and reconnect on failure. The full production checklist lives in docs/DEPLOYMENT.md in the repository.
3. Point the container at the mounts
Section titled “3. Point the container at the mounts”Bind-mount the mount base into the container and set:
HOST_MOUNTED_REMOTES=trueREMOTE_MOUNT=/mnt/remote_logsREMOTE_SERVERS=mail-server-01,mail-server-02Each server’s logs are discovered under its own directory beneath REMOTE_MOUNT, using the same rotation- and gzip-aware globbing as local logs.