mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
Update init.sh.jinja2
This commit is contained in:
parent
96d07834cb
commit
61716b1ce9
@ -34,10 +34,11 @@ fi
|
||||
|
||||
# change all the variables to real value,such as DB_MYSQL_PASSWORD=$APP_PASSWORD=>DB_MYSQL_PASSWORD=ues983ks9309023!
|
||||
cd /data/apps/{{app_name}}
|
||||
while [ `grep -c '\$' .env ` -ne '0' ]
|
||||
do
|
||||
replace_with_value_env
|
||||
done
|
||||
replace_with_value_env
|
||||
#while [ `grep -c '\$' .env ` -ne '0' ]
|
||||
#do
|
||||
# replace_with_value_env
|
||||
#done
|
||||
|
||||
# init APP_URL
|
||||
app_url_replace=$(cat /data/apps/{{app_name}}/.env |grep APP_URL_REPLACE)
|
||||
|
Loading…
Reference in New Issue
Block a user