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