Compare commits

...

4 Commits

2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ HOMEDIR="${WKDIR}/${USER}"
OS="linux" OS="linux"
ARCH="amd64" ARCH="amd64"
APPVERSION="1.10.0" APPVERSION="1.13.2"
APPNAME="gitea" APPNAME="gitea"
APPBINARY="gitea" APPBINARY="gitea"
APPSIG="7C9E68152594688862D62AF62D9AE806EC1592E2" APPSIG="7C9E68152594688862D62AF62D9AE806EC1592E2"

View File

@ -60,12 +60,12 @@ DB_TYPE = mysql
%set %%dbMode = %%getVar("gitea_db_mode") %set %%dbMode = %%getVar("gitea_db_mode")
%if %%dbMode == "default" %if %%dbMode == "default"
%if %%edb_local == "oui" %if %%edb_local == "oui"
HOST = 127.0.0.1:3306 HOST = /var/run/mysqld/mysqld.sock
%else %else
HOST = %%{edb_host}:%%{edb_port} HOST = %%{edb_host}:%%{edb_port}
%end if %end if
%elif %%dbMode == "local" %elif %%dbMode == "local"
HOST = 127.0.0.1:3306 HOST = /var/run/mysqld/mysqld.sock
%elif %%dbMode == "externe" %elif %%dbMode == "externe"
HOST = %%{gitea_dbserver}:%%{gitea_dbport} HOST = %%{gitea_dbserver}:%%{gitea_dbport}
%end if %end if