initial commit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
75891c3271
129 changed files with 8046 additions and 0 deletions
71
roles/forgejo/templates/app.ini.j2
Normal file
71
roles/forgejo/templates/app.ini.j2
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
APP_NAME = {{ forgejo_app_name }}
|
||||
RUN_MODE = prod
|
||||
WORK_PATH = /data/gitea
|
||||
|
||||
[server]
|
||||
DOMAIN = {{ forgejo_domain }}
|
||||
ROOT_URL = https://{{ forgejo_domain }}/
|
||||
HTTP_PORT = 3000
|
||||
SSH_DOMAIN = {{ forgejo_domain }}
|
||||
SSH_PORT = {{ forgejo_ssh_port }}
|
||||
START_SSH_SERVER = true
|
||||
|
||||
[database]
|
||||
DB_TYPE = sqlite3
|
||||
PATH = /data/gitea/gitea.db
|
||||
|
||||
[repository]
|
||||
ROOT = /data/git/repositories
|
||||
|
||||
[log]
|
||||
MODE = console
|
||||
LEVEL = Info
|
||||
|
||||
[security]
|
||||
INSTALL_LOCK = true
|
||||
SECRET_KEY = {{ forgejo_secret_key }}
|
||||
INTERNAL_TOKEN = {{ forgejo_internal_token }}
|
||||
|
||||
[service]
|
||||
DISABLE_REGISTRATION = {{ forgejo_disable_registration }}
|
||||
REQUIRE_SIGNIN_VIEW = {{ forgejo_require_signin }}
|
||||
DEFAULT_KEEP_EMAIL_PRIVATE = true
|
||||
|
||||
[mailer]
|
||||
ENABLED = {{ forgejo_mailer_enabled }}
|
||||
{% if forgejo_mailer_enabled %}
|
||||
FROM = {{ forgejo_mailer_from }}
|
||||
PROTOCOL = smtp
|
||||
SMTP_ADDR = {{ forgejo_smtp_host }}
|
||||
SMTP_PORT = {{ forgejo_smtp_port }}
|
||||
USER = {{ forgejo_smtp_user }}
|
||||
PASSWD = {{ forgejo_smtp_password }}
|
||||
{% endif %}
|
||||
|
||||
[session]
|
||||
PROVIDER = file
|
||||
|
||||
[picture]
|
||||
DISABLE_GRAVATAR = false
|
||||
ENABLE_FEDERATED_AVATAR = true
|
||||
|
||||
[openid]
|
||||
ENABLE_OPENID_SIGNIN = false
|
||||
ENABLE_OPENID_SIGNUP = false
|
||||
|
||||
[oauth2]
|
||||
JWT_SECRET = {{ forgejo_jwt_secret }}
|
||||
|
||||
[attachment]
|
||||
ENABLED = true
|
||||
MAX_SIZE = 50
|
||||
|
||||
[time]
|
||||
DEFAULT_UI_LOCATION = {{ forgejo_timezone }}
|
||||
|
||||
[metrics]
|
||||
ENABLED = true
|
||||
|
||||
[actions]
|
||||
ENABLED = true
|
||||
DEFAULT_ACTIONS_URL = https://code.forgejo.org
|
||||
Loading…
Add table
Add a link
Reference in a new issue