ansible-role-gitea/templates/gitea.ini.j2
Denis Knauf 8845621862 init
2020-09-15 16:43:53 +02:00

65 lines
1.4 KiB
Django/Jinja

APP_NAME = Gitea
RUN_USER = git
RUN_MODE = prod
[database]
DB_TYPE = postgres
HOST = /var/run/postgresql/
NAME = gitea
USER = git
PASSWD =
SSL_MODE = disable
PATH = ../gitea.db
[repository]
ROOT = /home/git/gitea-repositories
[server]
DOMAIN = {{gitea_fqdn}}
# HTTP_ADDR = 127.0.0.1
# HTTP_PORT = 1025
PROTOCOL = unix
HTTP_ADDR = /run/gitea/sock
ROOT_URL = {{gitea_root_uri}}
DISABLE_SSH = false
SSH_PORT = 22
START_SSH_SERVER = false
OFFLINE_MODE = false
DISABLE_ROUTER_LOG = true
[mailer]
ENABLED = false
[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
DISABLE_REGISTRATION = true
ENABLE_CAPTCHA = true
REQUIRE_SIGNIN_VIEW = false
[picture]
DISABLE_GRAVATAR = true
ENABLE_FEDERATED_AVATAR = false
[session]
PROVIDER = file
[log]
MODE = file
LEVEL = Info
ROOT_PATH = /var/log/gitea
[security]
INSTALL_LOCK = true
SECRET_KEY = UqhGAUYCwUAUfJKwHDaBgJ9GysNysL8wHeUqdKSxFbwljRaVUgFqOPkBV3AXcbL8
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1ODkxOTc0MDl9.eg5ukVv6gmDymYbysWXzjZeVK6-7lT2rGNZdqBMG1w0
[markup.asciidoc]
ENABLED = true
FILE_EXTENSIONS = .adoc,.asciidoc
RENDER_COMMAND = "asciidoctor --out-file=- --safe-mode secure --no-header-footer --backend xhtml5 -"
IS_INPUT_FILE = false
[oauth2]
JWT_SECRET = hiNsZNEuDQGcgz68cjtGdG7ylkuuMWFXwwCg_1oICzA