Update gitea config with updated repository settings and automatic signing
This commit is contained in:
parent
4bdf2fa861
commit
ca47bc97d2
2 changed files with 16 additions and 4 deletions
|
@ -2,6 +2,6 @@
|
||||||
<https://docs.gitea.io/en-us/administration/config-cheat-sheet/>
|
<https://docs.gitea.io/en-us/administration/config-cheat-sheet/>
|
||||||
|
|
||||||
Install `app.ini` to `/etc/forgejo/app.ini`.
|
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`.
|
Install `custom` to `/var/lib/forgejo/custom`.
|
||||||
|
|
|
@ -28,15 +28,27 @@ REVERSE_PROXY_TRUSTED_PROXIES = 127.0.0.0/8,::1/128
|
||||||
[oauth2]
|
[oauth2]
|
||||||
ENABLE = false
|
ENABLE = false
|
||||||
|
|
||||||
[log]
|
|
||||||
ROOT_PATH = /var/log/forgejo
|
|
||||||
|
|
||||||
[service]
|
[service]
|
||||||
DISABLE_REGISTRATION = true
|
DISABLE_REGISTRATION = true
|
||||||
|
|
||||||
[repository]
|
[repository]
|
||||||
ROOT = /var/lib/forgejo/repos
|
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
|
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]
|
[mailer]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
|
|
Loading…
Reference in a new issue