Compare commits

...

2 Commits

2 changed files with 3 additions and 4 deletions

View File

@ -34,8 +34,7 @@ createscript: "/usr/share/eole/db/gitea/gen/00-create-gitea-db.sql"
%set cnt_prefix = %%getVar('container_path_reseau', '') %set cnt_prefix = %%getVar('container_path_reseau', '')
pwd_files: pwd_files:
- {file: '%%cnt_prefix/etc/gitea/conf/app.ini', - {file: '%%cnt_prefix/etc/gitea/conf/app.ini',
pattern: 'PASSWD = ', pattern: 'PASSWD = `',
end_pattern: '', end_pattern: '`',
owner: 'root:gitservice', owner: 'root:gitservice',
mod: '660' } mod: '660' }

View File

@ -70,7 +70,7 @@ HOST = %%{gitea_dbserver}:%%{gitea_dbport}
%end if %end if
NAME = gitea NAME = gitea
USER = gitea USER = gitea
PASSWD = gitea1234 PASSWD = `gitea1234`
; For "postgres" only, either "disable", "require" or "verify-full" ; For "postgres" only, either "disable", "require" or "verify-full"
SSL_MODE = disable SSL_MODE = disable
; For "sqlite3" only ; For "sqlite3" only