feat: go back to gitea
Some checks failed
Continuous Integration / lint_n_build (push) Has been cancelled

This commit is contained in:
2026-03-15 19:08:39 +01:00
parent 663cf89639
commit 1b3b29f556
12 changed files with 238 additions and 70 deletions

43
files/gitea/app.ini Normal file
View File

@@ -0,0 +1,43 @@
# Do not edit this file unless you are aware about what you are doing!
# See official doc here: https://docs.gitea.com/next/administration/config-cheat-sheet
RUN_USER = gitea
RUN_MODE = prod
WORK_PATH = /var/lib/gitea
[ui]
THEMES=dark,light,auto
DEFAULT_THEME=auto
[server]
DOMAIN = git.netoik.io
ROOT_URL = https://git.netoik.io/
HTTP_ADDR = 127.0.0.1
HTTP_PORT = 3000
SSH_DOMAIN = git.netoik.io
SSH_PORT = 22222
[database]
DB_TYPE = postgres
HOST = /run/postgresql
NAME = gitea
USER = gitea
[security]
INSTALL_LOCK = true
SECRET_KEY = $SECRET_KEY
INTERNAL_TOKEN = $INTERNAL_TOKEN
[service]
DISABLE_REGISTRATION = true
[cache]
ADAPTER = redis
HOST = redis+socket:///run/valkey/valkey.sock
[session]
PROVIDER = redis
PROVIDER_CONFIG = redis+socket:///run/valkey/valkey.sock
[oauth2]
JWT_SECRET = $JWT_SECRET