diff --git a/compose.yaml b/compose.yaml index e624871..7aceb8b 100644 --- a/compose.yaml +++ b/compose.yaml @@ -26,11 +26,13 @@ services: emby_chris_network: emby_logtail: - image: busybox:latest + image: alpine container_name: emby_logtail + command: /bin/sh -c " + apk add --no-cache coreutils; while true; do - find /config/logs -name '*.txt' | sort | uniq > /tmp/files.txt + find /config/logs -name '*.txt' -o -name '*.log' | sort | uniq > /tmp/files.txt xargs -a /tmp/files.txt tail -F sleep 5 done"