Update TV_Containers/tiramisu/compose.yaml
This commit is contained in:
@@ -1,4 +1,20 @@
|
||||
services:
|
||||
tiramisu-config-init:
|
||||
image: curlimages/curl:latest
|
||||
container_name: tiramisu-config-init
|
||||
volumes:
|
||||
- /srv/docker/tiramisu:/target
|
||||
entrypoint: >
|
||||
sh -c "
|
||||
if [ ! -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
|
||||
echo 'config.json already exists, skipping fetch';
|
||||
fi
|
||||
"
|
||||
restart: "no"
|
||||
|
||||
tiramisu:
|
||||
image: mrrobotogit/tiramisu:latest
|
||||
container_name: tiramisu
|
||||
|
||||
Reference in New Issue
Block a user