From cb05e657880db8b493b2d16f038f3b9267ca85a5 Mon Sep 17 00:00:00 2001
From: barremian <machinetime77@gmail.com>
Date: Wed, 29 May 2024 12:28:43 +0200
Subject: [PATCH] lxc-forgejo: Replace 127.0.0.1 with localhost

---
 install/forgejo-install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install/forgejo-install.sh b/install/forgejo-install.sh
index ada8ccb2..ffa5a48e 100644
--- a/install/forgejo-install.sh
+++ b/install/forgejo-install.sh
@@ -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