mirror of
https://git.cloudron.io/cloudron/gitea-app
synced 2025-09-13 16:29:12 +00:00
Leave not that the values are overwritten by the code below
This commit is contained in:
2
start.sh
2
start.sh
@@ -29,7 +29,7 @@ if [[ ! -f /home/cloudron/gogs/custom/conf/app.ini ]]; then
|
|||||||
admin_password=$(pwgen -1)
|
admin_password=$(pwgen -1)
|
||||||
echo "Admin password set to ${admin_password}"
|
echo "Admin password set to ${admin_password}"
|
||||||
|
|
||||||
# this creates the custom/conf/app.ini
|
# the values here are mostly overwritten by the template file below
|
||||||
curl -X POST http://localhost:3000/install \
|
curl -X POST http://localhost:3000/install \
|
||||||
--data db_type=MySQL \
|
--data db_type=MySQL \
|
||||||
--data-urlencode "db_host=${MYSQL_HOST}:${MYSQL_PORT}" \
|
--data-urlencode "db_host=${MYSQL_HOST}:${MYSQL_PORT}" \
|
||||||
|
Reference in New Issue
Block a user