Update TV_Containers/tiramisu/compose.yaml

This commit is contained in:
2026-09-09 02:37:34 +00:00
parent 1639664729
commit 36d7c5da99
+5 -1
View File
@@ -6,7 +6,11 @@ services:
- /srv/docker/tiramisu:/target
entrypoint: >
sh -c "
if [ ! -s /target/config.json ]; then
if [ -d /target/config.json ]; then
echo 'config.json is a directory, not a file — removing it';
rmdir /target/config.json 2>/dev/null || rm -rf /target/config.json;
fi;
if [ ! -f /target/config.json ] || [ ! -s /target/config.json ]; then
curl -sSL -o /target/config.json https://raw.githubusercontent.com/MrRobotoGit/tiramisu/main/config.json.example
echo 'Fetched default config.json — edit /srv/docker/tiramisu/config.json with real values';
else