Update setup-docker.sh

This commit is contained in:
Roman Kelesidis 2025-08-21 18:55:13 +03:00
commit 7b23de8bc7
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

@ -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"