1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

db password

This commit is contained in:
Éric Gaspar 2023-10-09 11:52:55 +02:00
parent a95cebfc5b
commit 585c77c9ec
2 changed files with 1 additions and 3 deletions

View file

@ -10,7 +10,7 @@ UTILS_SECRET=__UTILS_SECRET__
# For production point these at your databases, in development the default
# should work out of the box.
DATABASE_URL=postgres://__DB_NAME__:__SECRET_KEY__@localhost:5432/__DB_NAME__
DATABASE_URL=postgres://__DB_NAME__:__DB_PWD__@localhost:5432/__DB_NAME__
DATABASE_URL_TEST=postgres://user:pass@localhost:5532/outline-test
# Uncomment this to disable SSL for connecting to Postgres
PGSSLMODE=disable

View file

@ -21,7 +21,6 @@ else
echo "English"
fi
secret_key=$(ynh_hex_32_random)
utils_secret=$(ynh_hex_32_random)
#=================================================
@ -61,7 +60,6 @@ fi
ynh_script_progression --message="Storing installation settings..." --weight=1
ynh_app_setting_set --app=$app --key=language --value=$language
ynh_app_setting_set --app=$app --key=secret_key --value=$secret_key
ynh_app_setting_set --app=$app --key=utils_secret --value=$utils_secret
ynh_app_setting_set --app=$app --key=language_key --value=$language_key
ynh_app_setting_set --app=$app --key=dex_app --value=$dex_app