[Komodo] admin: Write Compose File: update compose.yaml
This commit is contained in:
parent
680c1bda4f
commit
bf840a2c26
1 changed files with 2 additions and 7 deletions
|
|
@ -25,14 +25,9 @@ services:
|
||||||
emby_sascha_network:
|
emby_sascha_network:
|
||||||
|
|
||||||
emby_logtail:
|
emby_logtail:
|
||||||
image: busybox:latest
|
image: alpine
|
||||||
container_name: emby_logtail
|
container_name: emby_logtail
|
||||||
command: /bin/sh -c "
|
command: /bin/sh -c "apk add --no-cache coreutils && tail -n 0 -F /config/logs/embyserver.txt"
|
||||||
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