2020-05-21 17:58:38 +01:00
|
|
|
APP_NAME = Gitea
|
2020-02-07 08:57:48 +00:00
|
|
|
RUN_MODE = prod
|
|
|
|
RUN_USER = git
|
|
|
|
|
|
|
|
[repository]
|
|
|
|
ROOT = /data/git/repositories
|
|
|
|
|
|
|
|
[repository.local]
|
|
|
|
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
|
|
|
|
|
|
|
|
[repository.upload]
|
|
|
|
TEMP_PATH = /data/gitea/uploads
|
|
|
|
|
|
|
|
[server]
|
|
|
|
APP_DATA_PATH = /data/gitea
|
2020-04-28 20:31:29 +01:00
|
|
|
SSH_DOMAIN = gitea
|
2020-02-07 08:57:48 +00:00
|
|
|
HTTP_PORT = 3000
|
2020-04-11 17:37:05 +01:00
|
|
|
ROOT_URL = https://git.0rng.one/
|
2020-02-07 08:57:48 +00:00
|
|
|
DISABLE_SSH = false
|
|
|
|
SSH_PORT = 22
|
|
|
|
SSH_LISTEN_PORT = 3022
|
|
|
|
START_SSH_SERVER = true
|
|
|
|
LFS_START_SERVER = true
|
|
|
|
LFS_CONTENT_PATH = /data/git/lfs
|
2020-03-20 22:21:02 +00:00
|
|
|
DOMAIN = git.0rng.one
|
2020-02-07 08:57:48 +00:00
|
|
|
LFS_JWT_SECRET = {{ gitea.lfs_jwt_secret }}
|
|
|
|
OFFLINE_MODE = false
|
|
|
|
LANDING_PAGE = explore
|
|
|
|
ENABLE_GZIP = true
|
|
|
|
|
|
|
|
[ui]
|
2020-05-21 17:58:38 +01:00
|
|
|
EXPLORE_PAGING_NUM = 1000
|
2020-02-07 08:57:48 +00:00
|
|
|
DEFAULT_THEME = arc-green
|
|
|
|
THEMES = gitea,arc-green
|
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE = postgres
|
|
|
|
HOST = db:5432
|
|
|
|
NAME = gitea
|
|
|
|
USER = gitea
|
|
|
|
PASSWD = gitea
|
|
|
|
SSL_MODE = disable
|
|
|
|
CHARSET = utf8
|
|
|
|
LOG_SQL = false
|
|
|
|
|
|
|
|
[indexer]
|
2020-05-21 12:03:45 +01:00
|
|
|
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
|
2020-02-07 08:57:48 +00:00
|
|
|
|
|
|
|
[session]
|
|
|
|
PROVIDER_CONFIG = /data/gitea/sessions
|
|
|
|
PROVIDER = file
|
|
|
|
COOKIE_NAME = session
|
2020-05-21 17:58:38 +01:00
|
|
|
COOKIE_SECURE = true
|
2020-02-07 08:57:48 +00:00
|
|
|
|
|
|
|
[picture]
|
|
|
|
AVATAR_UPLOAD_PATH = /data/gitea/avatars
|
|
|
|
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
|
|
|
|
DISABLE_GRAVATAR = false
|
|
|
|
ENABLE_FEDERATED_AVATAR = true
|
|
|
|
|
|
|
|
[attachment]
|
|
|
|
PATH = /data/gitea/attachments
|
|
|
|
|
|
|
|
[log]
|
|
|
|
LEVEL = info
|
2020-05-21 17:58:38 +01:00
|
|
|
ACCESS = console
|
2020-02-07 08:57:48 +00:00
|
|
|
|
|
|
|
[security]
|
|
|
|
INSTALL_LOCK = true
|
|
|
|
SECRET_KEY = {{ gitea.secret_key }}
|
|
|
|
INTERNAL_TOKEN = {{ gitea.internal_token }}
|
|
|
|
COOKIE_USERNAME = gitea_username
|
|
|
|
COOKIE_REMEMBER_NAME = gitea_remember
|
2020-05-21 17:58:38 +01:00
|
|
|
LOGIN_REMEMBER_DAYS = 28
|
2020-02-07 08:57:48 +00:00
|
|
|
|
|
|
|
[service]
|
|
|
|
DISABLE_REGISTRATION = true
|
|
|
|
NO_REPLY_ADDRESS = noreply.example.org
|
|
|
|
|
|
|
|
[oauth2]
|
|
|
|
JWT_SECRET = {{ gitea.jwt_secret }}
|
|
|
|
|
|
|
|
[mailer]
|
|
|
|
ENABLED = false
|
|
|
|
|
|
|
|
[openid]
|
|
|
|
ENABLE_OPENID_SIGNIN = false
|
|
|
|
ENABLE_OPENID_SIGNUP = false
|
|
|
|
|
|
|
|
[cache]
|
2020-05-21 12:03:45 +01:00
|
|
|
ADAPTER = memory
|
|
|
|
INTERVAL = 60
|
2020-05-21 17:58:38 +01:00
|
|
|
|
|
|
|
[cron]
|
|
|
|
RUN_AT_START = true
|