From 7b23de8bc7db45f903ec12d32277cfce4ca312fd Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 21 Aug 2025 18:55:13 +0300 Subject: [PATCH] Update setup-docker.sh --- setup-docker.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup-docker.sh b/setup-docker.sh index 27fd147f7..a29a49fbf 100644 --- a/setup-docker.sh +++ b/setup-docker.sh @@ -18,6 +18,10 @@ fi cp .env .env.backup echo "💾 Backup created: .env.backup" +if grep -q "APP_CRON_ENABLED=true" .env; then + sed -i 's/APP_CRON_ENABLED=true/APP_CRON_ENABLED=false/' .env +fi + if grep -q "DB_HOST=localhost" .env; then sed -i 's/DB_HOST=localhost/DB_HOST=torrentpier-db/' .env echo "✅ Updated DB_HOST for Docker"