some gitea fixes

This commit is contained in:
cronekorkn 2023-09-29 10:27:39 +02:00
parent 919f5f2c08
commit 1f3740dd59
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
2 changed files with 4 additions and 0 deletions

View file

@ -48,6 +48,7 @@ files['/etc/gitea/app.ini'] = {
), ),
), ),
'owner': 'git', 'owner': 'git',
'mode': '0600',
'context': node.metadata['gitea'], 'context': node.metadata['gitea'],
'triggers': { 'triggers': {
'svc_systemd:gitea:restart', 'svc_systemd:gitea:restart',

View file

@ -12,6 +12,9 @@ defaults = {
}, },
'gitea': { 'gitea': {
'conf': { 'conf': {
'DEFAULT': {
'WORK_PATH': '/var/lib/gitea',
},
'database': { 'database': {
'DB_TYPE': 'postgres', 'DB_TYPE': 'postgres',
'HOST': 'localhost:5432', 'HOST': 'localhost:5432',