2023-02-17 23:54:17 +01:00
|
|
|
APP_NAME = Forgejo: Beyond coding. We forge.
|
2019-11-02 19:28:50 +01:00
|
|
|
RUN_MODE = prod
|
|
|
|
RUN_USER = git
|
|
|
|
|
|
|
|
[repository]
|
2022-11-13 01:10:26 +01:00
|
|
|
ROOT = /data/git/repositories
|
2023-02-17 23:54:17 +01:00
|
|
|
DEFAULT_PRIVATE = private
|
2019-11-02 19:28:50 +01:00
|
|
|
|
|
|
|
[repository.local]
|
|
|
|
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
|
|
|
|
|
|
|
|
[repository.upload]
|
|
|
|
TEMP_PATH = /data/gitea/uploads
|
|
|
|
|
|
|
|
[server]
|
|
|
|
APP_DATA_PATH = /data/gitea
|
2023-02-17 23:54:17 +01:00
|
|
|
DOMAIN = git.${BASE_DOMAIN}
|
2019-11-24 17:57:40 +01:00
|
|
|
SSH_DOMAIN = git.${BASE_DOMAIN}
|
2019-11-02 19:28:50 +01:00
|
|
|
HTTP_PORT = 3000
|
2019-11-24 17:57:40 +01:00
|
|
|
ROOT_URL = https://git.${BASE_DOMAIN}/
|
2019-11-02 19:28:50 +01:00
|
|
|
DISABLE_SSH = false
|
2023-02-17 23:54:17 +01:00
|
|
|
SSH_PORT = ${FORGEJO_SSH_PORT}
|
2019-11-02 19:28:50 +01:00
|
|
|
SSH_LISTEN_PORT = 22
|
|
|
|
LFS_START_SERVER = true
|
2019-11-24 17:57:40 +01:00
|
|
|
DOMAIN = git.${BASE_DOMAIN}
|
2023-02-17 23:54:17 +01:00
|
|
|
LFS_JWT_SECRET = ${FORGEJO_LFS_JWT_SECTRET}
|
2019-11-02 19:28:50 +01:00
|
|
|
OFFLINE_MODE = false
|
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE = postgres
|
2023-02-17 23:54:17 +01:00
|
|
|
HOST = pg-forgejo:5432
|
|
|
|
NAME = forgejo
|
|
|
|
USER = forgejo
|
|
|
|
PASSWD = ${FORGEJO_PG_PWD}
|
2019-11-02 19:28:50 +01:00
|
|
|
SSL_MODE = disable
|
|
|
|
CHARSET = utf8
|
|
|
|
|
|
|
|
[indexer]
|
|
|
|
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
|
|
|
|
|
|
|
|
[session]
|
|
|
|
PROVIDER_CONFIG = /data/gitea/sessions
|
|
|
|
PROVIDER = file
|
|
|
|
|
|
|
|
[picture]
|
|
|
|
AVATAR_UPLOAD_PATH = /data/gitea/avatars
|
|
|
|
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
|
|
|
|
|
|
|
|
[attachment]
|
|
|
|
PATH = /data/gitea/attachments
|
|
|
|
|
|
|
|
[log]
|
2023-02-17 23:54:17 +01:00
|
|
|
MODE = console
|
2019-11-02 19:28:50 +01:00
|
|
|
LEVEL = info
|
2023-02-17 23:54:17 +01:00
|
|
|
ROUTER = console
|
|
|
|
ROOT_PATH = /data/gitea/log
|
2019-11-02 19:28:50 +01:00
|
|
|
|
|
|
|
[security]
|
2023-02-17 23:54:17 +01:00
|
|
|
INSTALL_LOCK = ${FORGEJO_SETUP_LOCK}
|
|
|
|
SECRET_KEY = ${FORGEJO_SECRET_KEY}
|
|
|
|
REVERSE_PROXY_LIMIT = 1
|
|
|
|
REVERSE_PROXY_TRUSTED_PROXIES = *
|
|
|
|
INTERNAL_TOKEN = ${FORGEJO_INTERNAL_TOKEN}
|
|
|
|
PASSWORD_HASH_ALGO = pbkdf2
|
2019-11-02 19:28:50 +01:00
|
|
|
|
|
|
|
[service]
|
2023-02-17 23:54:17 +01:00
|
|
|
DISABLE_REGISTRATION = false
|
|
|
|
REQUIRE_SIGNIN_VIEW = false
|
2019-11-02 19:28:50 +01:00
|
|
|
REGISTER_EMAIL_CONFIRM = false
|
2023-02-17 23:54:17 +01:00
|
|
|
ENABLE_NOTIFY_MAIL = false
|
|
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = true
|
2019-11-02 19:28:50 +01:00
|
|
|
ENABLE_CAPTCHA = false
|
|
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
|
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
|
|
|
DEFAULT_ENABLE_TIMETRACKING = true
|
2023-02-17 23:54:17 +01:00
|
|
|
NO_REPLY_ADDRESS = noreply.localhost
|
2022-10-23 19:53:43 +02:00
|
|
|
|
2019-11-02 19:28:50 +01:00
|
|
|
[oauth2]
|
2023-02-17 23:54:17 +01:00
|
|
|
JWT_SECRET = ${FORGEJO_JWT_SECRET}
|
|
|
|
|
|
|
|
[lfs]
|
|
|
|
PATH = /data/git/lfs
|
2019-11-02 19:28:50 +01:00
|
|
|
|
|
|
|
[mailer]
|
2023-02-17 23:54:17 +01:00
|
|
|
ENABLED = true
|
|
|
|
SMTP_ADDR = mail
|
|
|
|
SMTP_PORT = 25
|
|
|
|
FROM = ${FORGEJO_MAIL_FROM}@${BASE_DOMAIN}
|
2019-11-02 19:28:50 +01:00
|
|
|
|
|
|
|
[openid]
|
|
|
|
ENABLE_OPENID_SIGNIN = false
|
2023-02-17 23:54:17 +01:00
|
|
|
ENABLE_OPENID_SIGNUP = true
|
|
|
|
|
|
|
|
[repository.pull-request]
|
|
|
|
DEFAULT_MERGE_STYLE = squash
|
|
|
|
|
|
|
|
[repository.signing]
|
|
|
|
DEFAULT_TRUST_MODEL = committer
|
2022-10-23 19:53:43 +02:00
|
|
|
|
|
|
|
[cron]
|
|
|
|
ENABLED = true
|