Update gitea config with updated repository settings and automatic signing

This commit is contained in:
Edgar P. Burkhart 2023-05-16 19:59:05 +02:00
parent 4bdf2fa861
commit ca47bc97d2
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 16 additions and 4 deletions

View file

@ -2,6 +2,6 @@
<https://docs.gitea.io/en-us/administration/config-cheat-sheet/>
Install `app.ini` to `/etc/forgejo/app.ini`.
Fill in secrets.
Generate GPG signing key. Fill in secrets.
Install `custom` to `/var/lib/forgejo/custom`.

View file

@ -28,15 +28,27 @@ REVERSE_PROXY_TRUSTED_PROXIES = 127.0.0.0/8,::1/128
[oauth2]
ENABLE = false
[log]
ROOT_PATH = /var/log/forgejo
[service]
DISABLE_REGISTRATION = true
[repository]
ROOT = /var/lib/forgejo/repos
DEFAULT_PRIVATE = true
PREFERRED_LICENSES = AGPL-3.0-or-later
ENABLE_PUSH_CREATE_USER = true
ENABLE_PUSH_CREATE_ORG = true
DEFAULT_REPO_UNITS = repo.code,repo.releases,repo.issues
DISABLE_STARS = true
DEFAULT_BRANCH = main
ALLOW_ADOPTION_OF_UNADOPTED_REPOSITORIES = true
ALLOW_DELETION_OF_UNADOPTED_REPOSITORIES = true
DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true
[repository.signing]
SIGNING_KEY = $$$
SIGNING_NAME = Forgejo on Huascaran
SIGNING_EMAIL = forgejo@edgarpierre.fr
DEFAULT_TRUST_MODEL = collaboratorcommiter
[mailer]
ENABLED = true