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