Files
gitea/gitea-src/app.ini.new

40 lines
802 B
Plaintext

; Gitea configuration
; See https://docs.gitea.com/administration/config-cheat-sheet
;
; This is a minimal template. Gitea will create a full app.ini
; on first run via the web installer (http://localhost:3000/).
;
; After installation, restrict permissions:
; chmod 640 /etc/gitea/app.ini
; chown root:git /etc/gitea/app.ini
; chmod 750 /etc/gitea
; chown root:git /etc/gitea
APP_NAME = Gitea
RUN_USER = git
WORK_PATH = /var/lib/gitea
RUN_MODE = prod
[server]
HTTP_PORT = 3000
START_SSH_SERVER = false
SSH_PORT = 22
LFS_START_SERVER = true
OFFLINE_MODE = true
[database]
DB_TYPE = sqlite3
PATH = /var/lib/gitea/data/gitea.db
[service]
DISABLE_REGISTRATION = true
REQUIRE_SIGNIN_VIEW = true
[security]
INSTALL_LOCK = false
[log]
MODE = console
LEVEL = info
ROOT_PATH = /var/lib/gitea/log