This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
max/ansible/roles/forgejo/templates/app.ini.j2

104 lines
2.3 KiB
Text
Raw Normal View History

2023-01-06 14:45:21 +00:00
APP_NAME = Forgejo: Beyond coding. We forge.
2023-01-03 18:12:40 +00:00
RUN_MODE = prod
RUN_USER = git
[repository]
ROOT = /data/git/repositories
DEFAULT_BRANCH = master
2023-01-03 18:12:40 +00: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-08 07:27:30 +00:00
DOMAIN = {{ git_domain }}
SSH_DOMAIN = {{ git_domain }}
2023-01-03 18:12:40 +00:00
HTTP_PORT = 3000
2023-01-06 14:45:21 +00:00
ROOT_URL = {{ forgejo.root_url }}
2023-01-03 18:12:40 +00:00
DISABLE_SSH = false
2023-01-14 17:00:01 +00:00
SSH_PORT = {{ git_ssh_port }}
2023-01-03 18:12:40 +00:00
SSH_LISTEN_PORT = 22
LFS_START_SERVER = true
2023-01-06 14:45:21 +00:00
LFS_JWT_SECRET = {{ forgejo.lfs_jwt_secret }}
2023-01-03 18:12:40 +00:00
OFFLINE_MODE = false
[database]
PATH = /data/gitea/gitea.db
DB_TYPE = sqlite3
HOST = localhost:3306
NAME = gitea
USER = root
PASSWD =
LOG_SQL = false
SCHEMA =
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
2023-01-06 14:45:21 +00:00
ENABLE_FEDERATED_AVATAR = false
2023-01-03 18:12:40 +00:00
[attachment]
PATH = /data/gitea/attachments
[log]
MODE = console
LEVEL = info
ROUTER = console
ROOT_PATH = /data/gitea/log
[security]
INSTALL_LOCK = true
SECRET_KEY =
REVERSE_PROXY_LIMIT = 1
REVERSE_PROXY_TRUSTED_PROXIES = *
2023-01-06 14:45:21 +00:00
INTERNAL_TOKEN = {{ forgejo.internal_token }}
2023-01-03 18:12:40 +00:00
PASSWORD_HASH_ALGO = pbkdf2
[service]
DISABLE_REGISTRATION = true
REQUIRE_SIGNIN_VIEW = false
REGISTER_EMAIL_CONFIRM = false
2023-01-06 14:45:21 +00:00
ENABLE_NOTIFY_MAIL = false
2023-01-03 18:12:40 +00:00
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
2023-01-06 14:45:21 +00:00
DEFAULT_KEEP_EMAIL_PRIVATE = true
2023-01-03 18:12:40 +00:00
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.localhost
[lfs]
PATH = /data/git/lfs
[mailer]
2023-01-06 14:45:21 +00:00
ENABLED = true
SMTP_ADDR = {{ forgejo.mailer_host }}
SMTP_PORT = 587
FROM = {{ forgejo.mailer_from }}
USER =
PASSWD =
2023-01-03 18:12:40 +00:00
[openid]
ENABLE_OPENID_SIGNIN = true
2023-01-06 14:45:21 +00:00
ENABLE_OPENID_SIGNUP = false
2023-01-03 18:12:40 +00:00
[repository.pull-request]
DEFAULT_MERGE_STYLE = merge
[repository.signing]
DEFAULT_TRUST_MODEL = committer
2023-01-07 21:06:39 +00:00
[ui]
DEFAULT_THEME = forgejo-light