diff --git a/conf/.env b/conf/.env
index 00a44b7..25c8704 100644
--- a/conf/.env
+++ b/conf/.env
@@ -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
diff --git a/scripts/install b/scripts/install
index 8a4fa1a..5454456 100755
--- a/scripts/install
+++ b/scripts/install
@@ -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