[Komodo] admin: Write Compose File: update compose.yaml
This commit is contained in:
parent
22e2a57dfd
commit
17ebebb221
1 changed files with 4 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue