December 22 update

This commit is contained in:
Sharad Ahlawat
2022-12-03 17:32:20 -08:00
parent 82a613d160
commit a2cdf26594
224 changed files with 6862 additions and 2341 deletions

View File

@ -0,0 +1,94 @@
# # Sample Configuration for Gitea using SQLite
#
# For information on the available settings, consult the online
# documentation, or see the accompanying file app.ini.defaults, which
# contains the settings incorporated into the gitea binary.
#
# This sample configuration runs Gitea with a local database. Before
# running this configuration, make sure to change the SECRET_KEY and the
# INTERNAL_TOKEN at the end of this file. SECRET_KEY is a password of your
# choosing, INTERNAL_TOKEN is a 64-byte random number in BASE64 encoding.
# Your can generate the token using for example:
# openssl rand -base64 64
#
# There are no pre-configured users; the first user to register becomes an
# admin. In this sample configuration, the HTTP server only listens on
# localhost.
#
# If you'd rather use the web-based installer, remove this conf/app.ini file
# and make /usr/local/etc/gitea/conf writeable to the git user.
APP_NAME = Ahlawat GIT
RUN_USER = git
RUN_MODE = prod
[database]
DB_TYPE = mysql
HOST = 192.168.0.53:3306
NAME = gitea
USER = gitea
PASSWD = mysql__gitea
[indexer]
ISSUE_INDEXER_PATH = /var/db/gitea/indexers/issues.bleve
[log]
ROOT_PATH = /var/log/gitea
MODE = file
LEVEL = Info
ENABLE_ACCESS_LOG = true
ACCESS = file
[picture]
DISABLE_GRAVATAR = true
AVATAR_UPLOAD_PATH = /var/db/gitea/data/avatars
[repository]
ROOT = /var/db/gitea/gitea-repositories
# Gitea's default is 'bash', so if you have bash installed, you can comment
# this out.
#SCRIPT_TYPE = sh
[repository.upload]
TEMP_PATH = /var/db/gitea/data/tmp/uploads
[security]
INSTALL_LOCK = true
INTERNAL_TOKEN = 1FFhAklka01JhgJTRUrFujWYiv4ijqcTIfXJ9o4n1fWxz+XVQdXhrqDTlsnD7fvz7gugdhgkx0FY2Lx6IBdPQw==
SECRET_KEY = BeyondChangeMeBeforeRunningBell
IMPORT_LOCAL_PATHS = true
[session]
COOKIE_SECURE = true
[server]
DOMAIN = git.ahlawat.com
PROTOCOL = https
HTTP_ADDR = ::
HTTP_PORT = 3000
ROOT_URL = https://git.ahlawat.com/
DISABLE_SSH = true
SSH_DOMAIN = %(DOMAIN)s
SSH_PORT = 22
OFFLINE_MODE = false
APP_DATA_PATH = /var/db/gitea/data
CERT_FILE = /mnt/certs/fullchain.pem
KEY_FILE = /mnt/certs/privkeyr.pem
LANDING_PAGE = explore
[service]
DISABLE_REGISTRATION = true
[openid]
ENABLE_OPENID_SIGNIN = false
[other]
SHOW_FOOTER_BRANDING = false
SHOW_FOOTER_VERSION = false
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
[oauth2]
JWT_SECRET = 3giTtKAIflI_e9ixoU6ELHfxGaDkvFwHxDoPZQyZ0ak
[ui]
#DEFAULT_THEME = arc-green

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@
# choosing, INTERNAL_TOKEN is a 64-byte random number in BASE64 encoding,
# JWT_SECRET is a 32-byte random number in BASE64 encoding.
#
# Your can generate the token using for example:
# You can generate the token using for example:
# openssl rand -base64 64
#
# You can let Gitea add these to the config for you; you need to make

View File

@ -1,6 +1,6 @@
BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
Copyright (c) 2018-2022, diyIT.org
Copyright (c) 2018-2019, diyIT.org
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@ -1,6 +1,6 @@
BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
Copyright (c) 2018-2022, diyIT.org
Copyright (c) 2018-2019, diyIT.org
All rights reserved.
Redistribution and use in source and binary forms, with or without