You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.3 KiB
Django/Jinja

; Config last updated based on:
; commit: bcb722daec4bdd45303da97173a2b8a3c4c95dcd
; date: 2020-01-19
APP_NAME = codesignd Git
RUN_USER = {{ ansible_user_id }}
RUN_MODE = prod
; Server settings
; ===============
[server]
PROTOCOL = http
DOMAIN = git.codesignd.com
HTTP_PORT = 8080
ROOT_URL = https://%(DOMAIN)s/
SSH_PORT = 22
OFFLINE_MODE = true
ENABLE_GZIP = true
LANDING_PAGE = explore
[security]
INSTALL_LOCK = true
SECRET_KEY = {{ git_secret_key }}
INTERNAL_TOKEN = {{ git_internal_token }}
PASSWORD_COMPLEXITY = off
[oauth2]
JWT_SECRET = {{ git_jwt_secret }}
; Paths
; =====
[database]
DB_TYPE = sqlite3
PATH = /home/%(RUN_USER)s/gitea/data/gitea.db
[repository]
ROOT = /home/%(RUN_USER)s/gitea/repos
; Functionality settings
; ======================
[admin]
DISABLE_REGULAR_ORG_CREATION = true
[log]
MODE = file
LEVEL = Info
[mailer]
ENABLED = true
FROM = %(APP_NAME)s <git@codesignd.com>
MAILER_TYPE = sendmail
[service]
DISABLE_REGISTRATION = true
ENABLE_NOTIFY_MAIL = true
NO_REPLY_ADDRESS = noreply.codesignd.com
[session]
COOKIE_SECURE = true
; Branding
; ========
[ui]
THEME_COLOR_META_TAG = `#eb8e2e`
[other]
SHOW_FOOTER_BRANDING = false
SHOW_FOOTER_VERSION = false
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false