[Komodo] admin: Write Compose File: update compose.yaml
This commit is contained in:
parent
ef997fa849
commit
680c1bda4f
1 changed files with 6 additions and 1 deletions
|
|
@ -27,7 +27,12 @@ services:
|
||||||
emby_logtail:
|
emby_logtail:
|
||||||
image: busybox:latest
|
image: busybox:latest
|
||||||
container_name: emby_logtail
|
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:
|
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