2023-08-06 22:08:40 +00:00
|
|
|
APP_NAME = KeksGit
|
2023-08-06 17:49:09 +00:00
|
|
|
RUN_USER = git
|
|
|
|
WORK_PATH = /var/lib/forgejo
|
|
|
|
RUN_MODE = prod
|
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE = mysql
|
|
|
|
HOST = 127.0.0.1:3306
|
|
|
|
NAME = forgejo
|
|
|
|
USER = forgejo
|
|
|
|
PASSWD = "{{ mariadbpassword }}"
|
|
|
|
SCHEMA =
|
|
|
|
SSL_MODE = disable
|
|
|
|
PATH = /var/lib/forgejo/data/forgejo.db
|
|
|
|
LOG_SQL = false
|
|
|
|
|
|
|
|
[repository]
|
|
|
|
ROOT = /var/lib/forgejo/data/forgejo-repositories
|
|
|
|
|
|
|
|
[server]
|
|
|
|
SSH_DOMAIN = {{ domain }}
|
|
|
|
DOMAIN = {{ domain }}
|
|
|
|
HTTP_PORT = 3000
|
|
|
|
ROOT_URL = https://{{ domain }}/
|
|
|
|
APP_DATA_PATH = /var/lib/forgejo/data
|
|
|
|
DISABLE_SSH = false
|
|
|
|
SSH_PORT = 22
|
|
|
|
LFS_START_SERVER = true
|
|
|
|
LFS_JWT_SECRET = 4SBbmKES622K_FEs0exmXkp8H6PSWWsD0UPn-OJIoWg
|
|
|
|
OFFLINE_MODE = false
|
|
|
|
|
|
|
|
[lfs]
|
|
|
|
PATH = /var/lib/forgejo/data/lfs
|
|
|
|
|
|
|
|
[mailer]
|
|
|
|
ENABLED = true
|
|
|
|
SMTP_ADDR = {{ smtp_host }}
|
|
|
|
SMTP_PORT = {{ smtp_port }}
|
|
|
|
FROM = {{ smtp_sender }}
|
|
|
|
USER = {{ smtp_user }}
|
|
|
|
PASSWD = {{ smtp_pass }}
|
|
|
|
|
|
|
|
[service]
|
|
|
|
REGISTER_EMAIL_CONFIRM = true
|
|
|
|
ENABLE_NOTIFY_MAIL = true
|
2023-08-06 21:40:58 +00:00
|
|
|
DISABLE_REGISTRATION = true
|
2023-08-06 17:49:09 +00:00
|
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
|
|
|
ENABLE_CAPTCHA = true
|
|
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
|
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
|
|
|
DEFAULT_ENABLE_TIMETRACKING = true
|
|
|
|
NO_REPLY_ADDRESS = noreply.localhost
|
|
|
|
|
|
|
|
[openid]
|
|
|
|
ENABLE_OPENID_SIGNIN = false
|
|
|
|
ENABLE_OPENID_SIGNUP = false
|
|
|
|
|
|
|
|
[cron.update_checker]
|
|
|
|
ENABLED = false
|
|
|
|
|
|
|
|
[session]
|
|
|
|
PROVIDER = file
|
|
|
|
|
|
|
|
[log]
|
|
|
|
MODE = console
|
|
|
|
LEVEL = info
|
|
|
|
ROOT_PATH = /var/lib/forgejo/log
|
|
|
|
|
|
|
|
[repository.pull-request]
|
|
|
|
DEFAULT_MERGE_STYLE = merge
|
|
|
|
|
|
|
|
[repository.signing]
|
|
|
|
DEFAULT_TRUST_MODEL = committer
|
|
|
|
|
|
|
|
[security]
|
|
|
|
INSTALL_LOCK = true
|
2023-08-06 22:07:47 +00:00
|
|
|
INTERNAL_TOKEN = {{ internal_token }}
|
2023-08-06 17:49:09 +00:00
|
|
|
PASSWORD_HASH_ALGO = pbkdf2_hi
|
|
|
|
|
|
|
|
[oauth2]
|
2023-08-06 22:07:47 +00:00
|
|
|
JWT_SECRET = {{ jwtSecret }}
|
2023-08-06 21:40:58 +00:00
|
|
|
|
|
|
|
[actions]
|
2023-08-06 22:12:03 +00:00
|
|
|
ENABLED = true
|
|
|
|
DEFAULT_ACTIONS_URL = https://code.forgejo.org
|