bump to 1.20.2

This commit is contained in:
Alexander Popov 2023-08-14 17:56:31 +03:00
parent 822470d50b
commit 669876e808
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6

268
~/gitea/app.ini Normal file
View File

@ -0,0 +1,268 @@
APP_NAME = emilecok
RUN_USER = gitea
WORK_PATH = /var/lib/gitea/
RUN_MODE = prod
[server]
PROTOCOL = http
DOMAIN = git.a2s.su
ROOT_URL = https://git.a2s.su/
STATIC_URL_PREFIX =
HTTP_ADDR = 127.0.0.1
HTTP_PORT = 3000
REDIRECT_OTHER_PORT = false
PORT_TO_REDIRECT = 80
PER_WRITE_TIMEOUT = 30s
PER_WRITE_PER_KB_TIMEOUT = 30s
UNIX_SOCKET_PERMISSION = 666
DISABLE_SSH = true
OFFLINE_MODE = true
STATIC_ROOT_PATH =
APP_DATA_PATH = /var/lib/gitea/data
ENABLE_GZIP = false
ENABLE_PPROF = false
LANDING_PAGE = explore
LFS_START_SERVER = true
LFS_JWT_SECRET =
LFS_HTTP_AUTH_EXPIRY = 20m
LFS_MAX_FILE_SIZE = 0
STARTUP_TIMEOUT = 0
STATIC_CACHE_TIME = 6h
[database]
DB_TYPE = sqlite3
PATH = /var/lib/gitea/data/gitea.db
SQLITE_TIMEOUT = 500
ITERATE_BUFFER_SIZE = 5
LOG_SQL = false
DB_RETRIES = 10
DB_RETRY_BACKOFF = 3s
MAX_IDLE_CONNS = 2
CONN_MAX_LIFETIME = 3s
MAX_OPEN_CONNS = 0
AUTO_MIGRATION = true
[security]
INSTALL_LOCK = true
SECRET_KEY =
INTERNAL_TOKEN =
LOGIN_REMEMBER_DAYS = 7
COOKIE_USERNAME = git_by_emilecok
COOKIE_REMEMBER_NAME = git_incredible
REVERSE_PROXY_LIMIT = 1
MIN_PASSWORD_LENGTH = 12
IMPORT_LOCAL_PATHS = false
DISABLE_GIT_HOOKS = true
DISABLE_WEBHOOKS = false
ONLY_ALLOW_PUSH_IF_GITEA_ENVIRONMENT_SET = true
PASSWORD_COMPLEXITY = off
PASSWORD_HASH_ALGO = pbkdf2
CSRF_COOKIE_HTTP_ONLY = true
PASSWORD_CHECK_PWN = false
[camo]
ENABLED = false
[oauth2]
ENABLE = false
JWT_SECRET =
[log]
MODE = console
LEVEL = info
ROOT_PATH = /var/lib/gitea/log
BUFFER_LEN = 10000
[git]
[service]
REGISTER_EMAIL_CONFIRM = false
REGISTER_MANUAL_CONFIRM = false
DISABLE_REGISTRATION = false
REQUIRE_SIGNIN_VIEW = false
ENABLE_NOTIFY_MAIL = false
ENABLE_BASIC_AUTHENTICATION = true
ENABLE_CAPTCHA = false
REQUIRE_CAPTCHA_FOR_LOGIN = false
DEFAULT_KEEP_EMAIL_PRIVATE = true
DEFAULT_ALLOW_CREATE_ORGANIZATION = false
DEFAULT_USER_IS_RESTRICTED = false
DEFAULT_USER_VISIBILITY = public
ALLOWED_USER_VISIBILITY_MODES = public,limited,private
DEFAULT_ORG_VISIBILITY = limited
DEFAULT_ORG_MEMBER_VISIBLE = false
DEFAULT_ENABLE_DEPENDENCIES = true
ENABLE_USER_HEATMAP = true
ENABLE_TIMETRACKING = true
DEFAULT_ENABLE_TIMETRACKING = true
DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME = true
SHOW_REGISTRATION_BUTTON = true
SHOW_MILESTONES_DASHBOARD_PAGE = true
AUTO_WATCH_NEW_REPOS = true
AUTO_WATCH_ON_CHANGES = false
USER_DELETE_WITH_COMMENTS_MAX_TIME = 0
VALID_SITE_URL_SCHEMES=http,https
[repository]
ROOT = /var/lib/gitea/repos
[lfs]
STORAGE_TYPE = local
PATH = /var/lib/gitea/data/lfs
[mailer]
ENABLED = false
[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false
[cron.update_checker]
ENABLED = false
[project]
PROJECT_BOARD_BASIC_KANBAN_TYPE = To Do, In Progress, Done
PROJECT_BOARD_BUG_TRIAGE_TYPE = Needs Triage, High Priority, Low Priority, Closed
[cors]
ENABLED = false
SCHEME = http
ALLOW_DOMAIN = *
ALLOW_SUBDOMAIN = false
METHODS = GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS
MAX_AGE = 10m
HEADERS = Content-Type,User-Agent
[ui]
EXPLORE_PAGING_NUM = 20
ISSUE_PAGING_NUM = 10
FEED_MAX_COMMIT_NUM = 5
FEED_PAGING_NUM = 20
CODE_COMMENT_LINES = 4
MAX_DISPLAY_FILE_SIZE = 2500000
SHOW_USER_EMAIL = false
DEFAULT_THEME = gitea
THEMES = auto,gitea,arc-green
REACTIONS = +1, -1, laugh, hooray, confused, heart, rocket, eyes
CUSTOM_EMOJIS = gitea, codeberg, gitlab, git, github, gogs
DEFAULT_SHOW_FULL_NAME = false
SEARCH_REPO_DESCRIPTION = true
ONLY_SHOW_RELEVANT_REPOS = false
[ui.meta]
AUTHOR = Alexander Popov
DESCRIPTION = my self-host git repos
KEYWORDS = gamedev,coding
[markdown]
FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd,.livemd
ENABLE_MATH = true
[admin]
DISABLE_REGULAR_ORG_CREATION = true
DEFAULT_EMAIL_NOTIFICATIONS = disabled
[cache]
ENABLED = false
ADAPTER = memory
INTERVAL = 60
[session]
PROVIDER = file
COOKIE_NAME = fuck_the_github
COOKIE_SECURE = false
[picture]
AVATAR_UPLOAD_PATH = /var/lib/gitea/data/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /var/lib/gitea/data/repo-avatars
REPOSITORY_AVATAR_FALLBACK = none
REPOSITORY_AVATAR_FALLBACK_IMAGE = /img/repo_default.png
AVATAR_MAX_WIDTH = 4096
AVATAR_MAX_HEIGHT = 4096
DISABLE_GRAVATAR = true
ENABLE_FEDERATED_AVATAR = false
[attachment]
ENABLED = true
ALLOWED_TYPES = .csv,.docx,.fodg,.fodp,.fods,.fodt,.gif,.gz,.jpeg,.jpg,.log,.md,.mov,.mp4,.odf,.odg,.odp,.ods,.odt,.patch,.pdf,.png,.pptx,.svg,.tgz,.txt,.webm,.xls,.xlsx,.zip
MAX_SIZE = 4
MAX_FILES = 5
STORAGE_TYPE = local
PATH = /var/lib/gitea/data/attachments
[time]
DEFAULT_UI_LOCATION = Europe/Moscow
[cron]
ENABLED = false
RUN_AT_START = false
[cron.archive_cleanup]
ENABLED = true
RUN_AT_START = true
[cron.update_mirrors]
SCHEDULE = @every 168h
ENABLED = true
RUN_AT_START = false
NOTICE_ON_SUCCESS = false
PULL_LIMIT=0
PUSH_LIMIT=0
[api]
ENABLE_SWAGGER = false
MAX_RESPONSE_ITEMS = 50
DEFAULT_PAGING_NUM = 30
DEFAULT_GIT_TREES_PER_PAGE = 1000
DEFAULT_MAX_BLOB_SIZE = 10485760
[other]
SHOW_FOOTER_VERSION = false
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
ENABLE_SITEMAP = true
ENABLE_FEED = true
[metrics]
ENABLED = false
TOKEN =
ENABLED_ISSUE_BY_LABEL = false
ENABLED_ISSUE_BY_REPOSITORY = false
[federation]
ENABLED = false
SHARE_USER_STATISTICS = false
[packages]
ENABLED = false
STORAGE_TYPE = local
CHUNKED_UPLOAD_PATH = tmp/package-upload
[storage]
STORAGE_TYPE = local
[repo-archive]
STORAGE_TYPE = local
PATH = data/repo-archive
[storage.repo-archive]
STORAGE_TYPE = local
[storage.packages]
STORAGE_TYPE = local
[proxy]
PROXY_ENABLED = false
PROXY_URL =
PROXY_HOSTS =
[actions]
ENABLED = false
[storage.actions_log]
STORAGE_TYPE = local
[repository.pull-request]
DEFAULT_MERGE_STYLE = merge
[repository.signing]
DEFAULT_TRUST_MODEL = committer