diff --git a/compose.yaml b/compose.yaml index 53a11a1..e624871 100644 --- a/compose.yaml +++ b/compose.yaml @@ -28,7 +28,12 @@ services: emby_logtail: image: busybox:latest container_name: emby_logtail - command: /bin/sh -c "tail -F /config/logs/embyserver.txt" + command: /bin/sh -c " + while true; do + find /config/logs -name '*.txt' | sort | uniq > /tmp/files.txt + xargs -a /tmp/files.txt tail -F + sleep 5 + done" volumes: - /app-config/emby:/config:ro # Read-only Mount des Emby Config/Logs restart: unless-stopped