[Komodo] admin: Write Compose File: update compose.yaml

This commit is contained in:
komodo 2025-04-24 20:31:43 +00:00
parent 574e34ee56
commit d52f1eaedf

View file

@ -28,7 +28,13 @@ services:
emby_logtail: emby_logtail:
image: alpine image: alpine
container_name: emby_logtail container_name: emby_logtail
command: /bin/sh -c "apk add --no-cache coreutils && while true; do find /config/logs -name '*.txt' -o -name '*.log' | sort | uniq > /tmp/files.txt && xargs -a /tmp/files.txt tail -n 0 -F; sleep 5; done" #command: /bin/sh -c "apk add --no-cache coreutils && while true; do find /config/logs -name '*.txt' -o -name '*.log' | sort | uniq > /tmp/files.txt && xargs -a /tmp/files.txt tail -n 0 -F; sleep 5; done"
command: /bin/sh -c "
apk add --no-cache coreutils &&
for file in /config/logs/*.txt; do
tail -n 0 -F \"\$file\" &
done
wait"
volumes: volumes:
- /app-config/emby:/config:ro # Read-only Mount des Emby Config/Logs - /app-config/emby:/config:ro # Read-only Mount des Emby Config/Logs
restart: unless-stopped restart: unless-stopped