lxc-forgejo: Replace 127.0.0.1 with localhost

This commit is contained in:
barremian 2024-05-29 12:28:43 +02:00
parent 92c971566f
commit cb05e65788
No known key found for this signature in database
GPG key ID: 96E431287CDD3E4A

View file

@ -54,7 +54,7 @@ if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
$STD apt-get install -y postgresql
echo "" >>~/forgejo.creds
echo -e "Database Type: \e[32mPostgresQL\e[0m" >>~/forgejo.creds
echo -e "PostgresQL Database Host: \e[32m127.0.0.1:5432\e[0m" >>~/forgejo.creds
echo -e "PostgresQL Database Host: \e[32mlocalhost:5432\e[0m" >>~/forgejo.creds
echo -e "Forgejo PostgresQL Database User: \e[32m$DB_USER\e[0m" >>~/forgejo.creds
echo -e "Forgejo PostgresQL Database Password: \e[32m$DB_PASS\e[0m" >>~/forgejo.creds
echo -e "Forgejo PostgresQL Database Name: \e[32m$DB_NAME\e[0m" >>~/forgejo.creds