2023-01-27 17:28:45 +00:00
|
|
|
APP_NAME = Gitea: Git with a cup of orange juice
|
|
|
|
|
|
|
|
[repository]
|
|
|
|
ROOT = /mnt/repositories
|
|
|
|
DEFAULT_BRANCH = master
|
|
|
|
DISABLE_STARS = true
|
|
|
|
|
|
|
|
[server]
|
2023-03-30 22:56:35 +01:00
|
|
|
SSH_DOMAIN = git.theorangeone.net
|
|
|
|
ROOT_URL = https://git.theorangeone.net/
|
2023-01-27 17:28:45 +00:00
|
|
|
START_SSH_SERVER = true
|
|
|
|
SSH_PORT = 22 # Makes the SSH URLs look sane
|
|
|
|
SSH_LISTEN_PORT = 2222
|
|
|
|
BUILTIN_SSH_SERVER_USER = git
|
|
|
|
LFS_START_SERVER = true
|
2023-03-30 22:56:35 +01:00
|
|
|
DOMAIN = git.theorangeone.net
|
2023-01-27 17:28:45 +00:00
|
|
|
PROTOCOL = http # TLS termination done by Traefik
|
|
|
|
ENABLE_GZIP = true
|
|
|
|
OFFLINE_MODE = true
|
|
|
|
LANDING_PAGE = explore
|
|
|
|
LFS_JWT_SECRET = {{ lfs_jwt_secret }}
|
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE = postgres
|
|
|
|
HOST = db:5432
|
|
|
|
NAME = gitea
|
|
|
|
USER = gitea
|
|
|
|
PASSWD = gitea
|
|
|
|
|
|
|
|
[session]
|
|
|
|
PROVIDER = db
|
|
|
|
COOKIE_NAME = gitea_session
|
|
|
|
|
|
|
|
[log]
|
2023-03-27 20:52:12 +01:00
|
|
|
LEVEL = warn
|
2023-01-27 17:28:45 +00:00
|
|
|
|
|
|
|
[security]
|
|
|
|
INSTALL_LOCK = true
|
|
|
|
SECRET_KEY = {{ secret_key }}
|
|
|
|
INTERNAL_TOKEN = {{ internal_token }}
|
|
|
|
PASSWORD_HASH_ALGO = pbkdf2
|
|
|
|
COOKIE_USERNAME = gitea_username
|
|
|
|
COOKIE_REMEMBER_NAME = gitea_remember
|
|
|
|
LOGIN_REMEMBER_DAYS = 30
|
2023-04-07 17:20:59 +01:00
|
|
|
REVERSE_PROXY_TRUSTED_PROXIES = *
|
2023-01-27 17:28:45 +00:00
|
|
|
|
|
|
|
[service]
|
|
|
|
DISABLE_REGISTRATION = true
|
|
|
|
ENABLE_CAPTCHA = false
|
|
|
|
SHOW_MILESTONES_DASHBOARD_PAGE = false
|
|
|
|
ENABLE_TIMETRACKING = false
|
|
|
|
DEFAULT_ORG_MEMBER_VISIBLE = true
|
|
|
|
|
|
|
|
[ui.metadata]
|
|
|
|
DESCRIPTION = Gitea (Git with a cup of orange juice)
|
|
|
|
AUTHOR = Jake Howard
|
|
|
|
|
|
|
|
[ui.user]
|
|
|
|
REPO_PAGING_NUM = 100
|
|
|
|
|
|
|
|
[ui]
|
|
|
|
SITEMAP_PAGING_NUM = 100
|
|
|
|
FEED_PAGING_NUM = 100
|
|
|
|
DEFAULT_THEME = gitea
|
|
|
|
ISSUE_PAGING_NUM = 100
|
|
|
|
THEME_COLOR_META_TAG = "#ff7f00"
|
|
|
|
FEED_MAX_COMMIT_NUM = 30
|
|
|
|
SHOW_USER_EMAIL = false
|
|
|
|
EXPLORE_PAGING_NUM = 100
|
|
|
|
|
|
|
|
[openid]
|
|
|
|
ENABLE_OPENID_SIGNIN = false
|
|
|
|
ENABLE_OPENID_SIGNUP = false
|
|
|
|
|
|
|
|
[service.explore]
|
|
|
|
DISABLE_USERS_PAGE = true
|
|
|
|
|
|
|
|
[queue]
|
|
|
|
CONN_STR = redis://redis:6379/0
|
|
|
|
TYPE = redis
|
|
|
|
|
|
|
|
[cache]
|
|
|
|
ADAPTER = redis
|
|
|
|
HOST = redis://redis:6379/1
|
|
|
|
ITEM_TTL = 48h
|
|
|
|
|
|
|
|
[other]
|
|
|
|
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
|
|
|
|
SHOW_FOOTER_VERSION = false
|
|
|
|
|
|
|
|
[mirror]
|
|
|
|
DEFAULT_INTERVAL = 1h
|
|
|
|
|
|
|
|
[cron]
|
|
|
|
ENABLED = true
|
|
|
|
|
|
|
|
[indexer]
|
|
|
|
REPO_INDEXER_ENABLED = true
|
|
|
|
ISSUE_INDEXER_TYPE = db
|
|
|
|
|
|
|
|
[lfs]
|
|
|
|
PATH = /mnt/lfs
|
2023-01-29 17:45:39 +00:00
|
|
|
|
|
|
|
[federation]
|
|
|
|
ENABLED = true
|
2023-03-21 13:36:34 +00:00
|
|
|
|
|
|
|
[actions]
|
|
|
|
ENABLED = true
|
2023-07-17 09:30:33 +01:00
|
|
|
DEFAULT_ACTIONS_URL = github
|
2023-03-26 14:47:30 +01:00
|
|
|
|
|
|
|
[migrations]
|
|
|
|
ALLOW_LOCALNETWORKS = true
|
2023-04-07 17:32:00 +01:00
|
|
|
|
|
|
|
[mailer]
|
|
|
|
ENABLED = true
|
|
|
|
SMTP_ADDR = smtp.eu.mailgun.org
|
|
|
|
SMTP_PORT = 465
|
|
|
|
FROM = "{{ mailer_from_address }}"
|
|
|
|
USER = "{{ mailer_user }}"
|
|
|
|
PASSWD = "{{ mailer_password }}"
|
2023-10-15 21:27:23 +01:00
|
|
|
PROTOCOL = smtps
|
2023-04-27 20:49:24 +01:00
|
|
|
|
2023-07-17 14:16:48 +01:00
|
|
|
[packages]
|
|
|
|
STORAGE_TYPE = backblaze
|
|
|
|
|
|
|
|
[storage.backblaze]
|
2023-04-27 20:49:24 +01:00
|
|
|
STORAGE_TYPE = minio
|
|
|
|
MINIO_ENDPOINT = s3.eu-central-003.backblazeb2.com
|
|
|
|
MINIO_ACCESS_KEY_ID = {{ backblaze_access_key_id }}
|
|
|
|
MINIO_SECRET_ACCESS_KEY = {{ backblaze_secret_access_key }}
|
|
|
|
MINIO_BUCKET = 0rng-gitea
|
|
|
|
MINIO_LOCATION = eu-central-003
|
|
|
|
SERVE_DIRECT = true
|
|
|
|
MINIO_USE_SSL = true
|
2023-10-15 18:53:30 +01:00
|
|
|
|
|
|
|
[storage.repo-archive]
|
|
|
|
PATH = /mnt/repo-archive
|
2023-10-15 18:55:24 +01:00
|
|
|
|
|
|
|
[oauth2]
|
|
|
|
JWT_SECRET = {{ oauth2_jwt_secret }}
|