2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
gitea:
|
2021-12-12 10:46:07 +01:00
|
|
|
config: /var/lib/gitea/custom/conf/app.ini
|
2020-07-10 00:58:55 +02:00
|
|
|
version: "1.0.2"
|
|
|
|
arch: "amd64"
|
|
|
|
database:
|
|
|
|
type: postgres
|
|
|
|
host: 127.0.0.1:5432
|
|
|
|
name: gitea
|
|
|
|
user: gitea
|
|
|
|
password: databaseSecretPassword
|
|
|
|
ssl: false
|
|
|
|
path: data/gitea.db
|
|
|
|
repository:
|
|
|
|
root: /var/lib/gitea/gitea-repositories
|
|
|
|
server:
|
|
|
|
domain: git.example.com
|
|
|
|
http_addr: 0.0.0.0
|
|
|
|
http_port: 3000
|
|
|
|
https: true
|
|
|
|
disable_ssh: true
|
|
|
|
start_ssh_server: false
|
|
|
|
ssh_port: 2222
|
|
|
|
ssh_listen_port: 2222
|
|
|
|
offline_mode: false
|
|
|
|
lfs_start_server: false
|
|
|
|
lfs_content_path: data/lfs
|
|
|
|
lfs_jwt_secret: createYourOwnJWTSecret
|
|
|
|
enable_gzip: false
|
|
|
|
landing_page: home
|
2021-08-03 17:44:16 +02:00
|
|
|
cache:
|
|
|
|
enabled: true
|
|
|
|
adapter: redis
|
|
|
|
host: redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s
|
2020-07-10 00:58:55 +02:00
|
|
|
mailer:
|
|
|
|
enable: true
|
|
|
|
hostname: mail.example.com
|
|
|
|
hostandport: mail.example.com:587
|
|
|
|
from_address: git@example.com
|
|
|
|
smtp_user: git@example.com
|
|
|
|
smtp_password: secretPassword1234
|
|
|
|
skip_verify: false
|
|
|
|
service:
|
|
|
|
name: gitea
|
|
|
|
app_name: Gitea - Git with a cup of tea
|
|
|
|
register_email_confirm: true
|
|
|
|
disable_registration: true
|
|
|
|
require_signin_view: true
|
|
|
|
enable_captcha: true
|
|
|
|
enable_notify_mail: true
|
|
|
|
picture:
|
|
|
|
disable_gravatar: false
|
|
|
|
attachment:
|
|
|
|
enabled: true
|
|
|
|
path: data/attachments
|
|
|
|
allowed_types: image/jpeg|image/png
|
|
|
|
max_size: 8
|
|
|
|
max_files: 5
|
|
|
|
log:
|
|
|
|
mode: file
|
|
|
|
level: Info
|
|
|
|
security:
|
|
|
|
install_lock: true
|
|
|
|
remember_password_days: 30
|
|
|
|
secret_key: myUniqueSecretKey
|
|
|
|
internal_token: myUniqueInternalToken
|
|
|
|
other:
|
|
|
|
show_footer_branding: true
|
2021-08-03 17:44:16 +02:00
|
|
|
show_footer_version: true
|