Files
gitea-setup/2.2-app.ini
ascet-tomsk f62d6e7fc0 first commit
2026-01-11 00:49:37 +07:00

47 lines
938 B
INI
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 2.2 Конфигурационный файл Gitea
# /etc/gitea/app.ini
APP_NAME = Gitea
RUN_USER = git
RUN_MODE = prod
[server]
APP_DATA_PATH = /var/lib/gitea/data
HTTP_PORT = 3000
ROOT_URL = https://git.ahtamov.ru/
DOMAIN = localhost
SSH_DOMAIN = localhost
SSH_PORT = 22
DISABLE_SSH = false
OFFLINE_MODE = false
[database]
DB_TYPE = sqlite3
PATH = /var/lib/gitea/data/gitea.db
[repository]
ROOT = /var/lib/gitea/data/gitea-repositories
[session]
PROVIDER = file
PROVIDER_CONFIG = /var/lib/gitea/data/sessions
[picture]
AVATAR_UPLOAD_PATH = /var/lib/gitea/data/avatars
[attachment]
PATH = /var/lib/gitea/data/attachments
[log]
ROOT_PATH = /var/lib/gitea/log
MODE = file
LEVEL = Info
[security]
INSTALL_LOCK = true
SECRET_KEY = ваш_секретный_ключ_сюда
[actions]
ENABLED = true
STORAGE_TYPE = local
MINIO_BASE_PATH = /var/lib/gitea/actions