feat: replace gitea by forgejo

This commit is contained in:
2026-03-03 01:09:48 +01:00
parent e19760d37e
commit c0de29a266
6 changed files with 38 additions and 97 deletions

View File

@@ -0,0 +1,33 @@
# 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
APP_NAME = Netoïk Git Server
RUN_USER = forgejo
RUN_MODE = prod
WORK_PATH = /var/lib/forgejo
[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 = forgejo
USER = forgejo
[security]
INSTALL_LOCK = true
SECRET_KEY = $SECRET_KEY
INTERNAL_TOKEN = $INTERNAL_TOKEN
[service]
DISABLE_REGISTRATION = true
[session]
PROVIDER = redis
PROVIDER_CONFIG = /run/valkey/valkey.sock