Use manifest v2
This commit is contained in:
parent
71c8fc4d11
commit
0fcfe99462
|
@ -18,7 +18,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"manifestVersion": 1,
|
"manifestVersion": 2,
|
||||||
"website": "http://www.freshrss.org",
|
"website": "http://www.freshrss.org",
|
||||||
"contactEmail": "support@cloudron.io",
|
"contactEmail": "support@cloudron.io",
|
||||||
"icon": "logo.png",
|
"icon": "logo.png",
|
||||||
|
|
14
start.sh
14
start.sh
|
@ -9,9 +9,9 @@ if ! [ -f /app/data/.installed ]; then
|
||||||
rsync -a /app/code/data-orig/ /app/data/
|
rsync -a /app/code/data-orig/ /app/data/
|
||||||
php cli/do-install.php \
|
php cli/do-install.php \
|
||||||
--environment production --default_user admin \
|
--environment production --default_user admin \
|
||||||
--db-type mysql --db-host "${MYSQL_HOST}" \
|
--db-type mysql --db-host "${CLOUDRON_MYSQL_HOST}" \
|
||||||
--db-user "${MYSQL_USERNAME}" --db-password "${MYSQL_PASSWORD}" \
|
--db-user "${CLOUDRON_MYSQL_USERNAME}" --db-password "${CLOUDRON_MYSQL_PASSWORD}" \
|
||||||
--db-base "${MYSQL_DATABASE}" --db-prefix "" \
|
--db-base "${CLOUDRON_MYSQL_DATABASE}" --db-prefix "" \
|
||||||
--disable_update
|
--disable_update
|
||||||
php cli/create-user.php --user admin --password changeme --language en
|
php cli/create-user.php --user admin --password changeme --language en
|
||||||
touch /app/data/.installed
|
touch /app/data/.installed
|
||||||
|
@ -32,10 +32,10 @@ for f in $(ls /app/code/extensions-orig); do
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "==> Updating config file"
|
echo "==> Updating config file"
|
||||||
php cli/reconfigure.php --default_user admin --base_url "https://${APP_DOMAIN}" \
|
php cli/reconfigure.php --default_user admin --base_url "https://${CLOUDRON_APP_DOMAIN}" \
|
||||||
--db-type mysql --db-host "${MYSQL_HOST}" \
|
--db-type mysql --db-host "${CLOUDRON_MYSQL_HOST}" \
|
||||||
--db-user "${MYSQL_USERNAME}" --db-password "${MYSQL_PASSWORD}" \
|
--db-user "${CLOUDRON_MYSQL_USERNAME}" --db-password "${CLOUDRON_MYSQL_PASSWORD}" \
|
||||||
--db-base "${MYSQL_DATABASE}" --db-prefix "" \
|
--db-base "${CLOUDRON_MYSQL_DATABASE}" --db-prefix "" \
|
||||||
--disable_update
|
--disable_update
|
||||||
|
|
||||||
echo "==> Setting permissions"
|
echo "==> Setting permissions"
|
||||||
|
|
Loading…
Reference in New Issue