Update TV_Containers/tiramisu/compose.yaml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user