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