1
0
forked from infra/ansible
infra/roles/gitea/templates/app.ini.j2

46 lines
701 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
[session]
PROVIDER = file
[picture]
DISABLE_GRAVATAR = true
[log]
MODE = console,file
[log.console]
LEVEL = error
[log.file]
LEVEL = warn
[oauth2]
JWT_SECRET = {{ gitea_jwt_secret }}