Update TV_Containers/tiramisu/compose.yaml

This commit is contained in:
2026-09-09 02:38:32 +00:00
parent 36d7c5da99
commit 914449e3d8
+2 -1
View File
@@ -2,13 +2,14 @@ services:
tiramisu-config-init:
image: curlimages/curl:latest
container_name: tiramisu-config-init
user: "0:0"
volumes:
- /srv/docker/tiramisu:/target
entrypoint: >
sh -c "
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;
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