From 17ebebb221e14ff80e9ed405f4e380aacc0ac5d8 Mon Sep 17 00:00:00 2001 From: komodo Date: Thu, 24 Apr 2025 20:26:34 +0000 Subject: [PATCH] [Komodo] admin: Write Compose File: update compose.yaml --- compose.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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"