diff --git a/tmpl/gitea.conf b/tmpl/gitea.conf index 60b2401..bf27f3c 100644 --- a/tmpl/gitea.conf +++ b/tmpl/gitea.conf @@ -60,12 +60,12 @@ DB_TYPE = mysql %set %%dbMode = %%getVar("gitea_db_mode") %if %%dbMode == "default" %if %%edb_local == "oui" -HOST = 127.0.0.1:3306 +HOST = /var/run/mysqld/mysqld.sock %else HOST = %%{edb_host}:%%{edb_port} %end if %elif %%dbMode == "local" -HOST = 127.0.0.1:3306 +HOST = /var/run/mysqld/mysqld.sock %elif %%dbMode == "externe" HOST = %%{gitea_dbserver}:%%{gitea_dbport} %end if