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.
79 lines
1.4 KiB
Django/Jinja
79 lines
1.4 KiB
Django/Jinja
; Config last updated based on:
|
|
; commit: 5b1d0a7701f94f2292ebdfc6c542b91fd906e6ea
|
|
; date: 2021-07-12
|
|
|
|
APP_NAME = codesignd Git
|
|
RUN_USER = {{ ansible_facts.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`
|
|
|
|
[ui.meta]
|
|
AUTHOR = codesignd, Lukas Bestle
|
|
DESCRIPTION = Self-hosted Git repositories of codesignd, Lukas Bestle
|
|
KEYWORDS = "codesignd, git"
|
|
|
|
[other]
|
|
SHOW_FOOTER_BRANDING = false
|
|
SHOW_FOOTER_VERSION = false
|
|
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
|