Emi Matchu
695d85cc5b
Back when I had secrets just hardcoded into the repo, I added these to make sure I wouldn't publish the repo without realizing I had left those in! But now I've gone back and obliterated them from git history, so we're okay to share! (Not just I committed over them, but they are *fully gone*.)
83 lines
1.6 KiB
INI
83 lines
1.6 KiB
INI
APP_NAME = OpenNeo Code
|
|
RUN_USER = git
|
|
WORK_PATH = /var/lib/forgejo
|
|
RUN_MODE = prod
|
|
|
|
[database]
|
|
DB_TYPE = sqlite3
|
|
HOST = 127.0.0.1:3306
|
|
NAME = forgejo
|
|
USER = forgejo
|
|
PASSWD =
|
|
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 = code.openneo.net
|
|
DOMAIN = code.openneo.net
|
|
PROTOCOL = https
|
|
HTTP_PORT = 443
|
|
REDIRECT_OTHER_PORT = true
|
|
ENABLE_ACME = true
|
|
ACME_ACCEPTTOS = true
|
|
ACME_EMAIL = emi@matchu.dev
|
|
ROOT_URL = https://code.openneo.net/
|
|
APP_DATA_PATH = /var/lib/forgejo/data
|
|
DISABLE_SSH = false
|
|
SSH_PORT = 22
|
|
LFS_START_SERVER = true
|
|
LFS_JWT_SECRET_URI = file:/etc/forgejo/secrets/lfs_jwt_secret
|
|
OFFLINE_MODE = true
|
|
LANDING_PAGE = /OpenNeo
|
|
|
|
[lfs]
|
|
PATH = /var/lib/forgejo/data/lfs
|
|
|
|
[mailer]
|
|
ENABLED = false
|
|
|
|
[service]
|
|
REGISTER_EMAIL_CONFIRM = false
|
|
ENABLE_NOTIFY_MAIL = false
|
|
DISABLE_REGISTRATION = true
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
|
ENABLE_CAPTCHA = false
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = false
|
|
DEFAULT_ENABLE_TIMETRACKING = false
|
|
NO_REPLY_ADDRESS = noreply.openneo.net
|
|
|
|
[openid]
|
|
ENABLE_OPENID_SIGNIN = false
|
|
ENABLE_OPENID_SIGNUP = false
|
|
|
|
[cron.update_checker]
|
|
ENABLED = true
|
|
|
|
[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
|
|
INTERNAL_TOKEN_URI = file:/etc/forgejo/secrets/internal_token
|
|
PASSWORD_HASH_ALGO = pbkdf2_hi
|
|
|
|
[oauth2]
|
|
JWT_SECRET_URI = file:/etc/forgejo/secrets/oauth2_jwt_secret
|