mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Update setup-docker.sh
This commit is contained in:
parent
6c5102071e
commit
7b23de8bc7
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ fi
|
||||||
cp .env .env.backup
|
cp .env .env.backup
|
||||||
echo "💾 Backup created: .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
|
if grep -q "DB_HOST=localhost" .env; then
|
||||||
sed -i 's/DB_HOST=localhost/DB_HOST=torrentpier-db/' .env
|
sed -i 's/DB_HOST=localhost/DB_HOST=torrentpier-db/' .env
|
||||||
echo "✅ Updated DB_HOST for Docker"
|
echo "✅ Updated DB_HOST for Docker"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue