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

53 lines
787 B
Plaintext
Raw Permalink Normal View History

2020-06-18 22:34:30 +02:00
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
2020-06-18 22:34:30 +02:00
[oauth2]
JWT_SECRET = {{ gitea_jwt_secret }}
2022-04-02 10:56:35 +02:00
[cron]
ENABLED = true
[cron.archive_cleanup]
SCHEDULE = @midnight
OLDER_THAN = 168h