diff --git a/tmpl/gitea-db.yml b/tmpl/gitea-db.yml index 425fbc1..423a9c3 100644 --- a/tmpl/gitea-db.yml +++ b/tmpl/gitea-db.yml @@ -34,8 +34,7 @@ createscript: "/usr/share/eole/db/gitea/gen/00-create-gitea-db.sql" %set cnt_prefix = %%getVar('container_path_reseau', '') pwd_files: - {file: '%%cnt_prefix/etc/gitea/conf/app.ini', - pattern: 'PASSWD = ', - end_pattern: '', + pattern: 'PASSWD = `', + end_pattern: '`', owner: 'root:gitservice', mod: '660' } - diff --git a/tmpl/gitea.conf b/tmpl/gitea.conf index 3a86cc4..a0b931f 100644 --- a/tmpl/gitea.conf +++ b/tmpl/gitea.conf @@ -70,7 +70,7 @@ HOST = %%{gitea_dbserver}:%%{gitea_dbport} %end if NAME = gitea USER = gitea -PASSWD = gitea1234 +PASSWD = `gitea1234` ; For "postgres" only, either "disable", "require" or "verify-full" SSL_MODE = disable ; For "sqlite3" only