gitea config

This commit is contained in:
2019-03-30 20:18:01 -04:00
parent 401aa60a35
commit dc716f477c
5 changed files with 118 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
{{ {
'INTERNAL_TOKEN': salt.cmd.run(pillar['gitea']['path'] + '/bin/gitea generate secret INTERNAL_TOKEN'),
'LFS_JWT_SECRET': salt.cmd.run(pillar['gitea']['path'] + '/bin/gitea generate secret LFS_JWT_SECRET'),
'SECRET_KEY': salt.cmd.run(pillar['gitea']['path'] + '/bin/gitea generate secret SECRET_KEY')
} | tojson }}