ansible/roles/gitea/templates/app.ini.j2

31 lines
558 B
Django/Jinja

APP_NAME = Binary Kitchen Git Service
RUN_USER = {{ gitea_user }}
RUN_MODE = prod
[repository]
ROOT = /home/{{ gitea_user }}/repositories
[server]
PROTOCOL = http
DOMAIN = localhost
ROOT_URL = https://{{ gitea_domain }}
HTTP_ADDR = 127.0.0.1
[database]
DB_TYPE = postgres
HOST = localhost
NAME = {{ gitea_dbname }}
USER = {{ gitea_dbuser }}
PASSWD = {{ gitea_dbpass }}
LOG_SQL = false
[security]
INSTALL_LOCK = true
SECRET_KEY = {{ gitea_secret }}
[service]
DISABLE_REGISTRATION = true
[oauth2]
JWT_SECRET = {{ gitea_jwt_secret }}