paulbsd-salt/states/gitea/defaults.yaml

95 lines
2.4 KiB
YAML
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
gitea:
2021-12-29 16:56:39 +01:00
workingdir: /var/lib/gitea
2022-01-02 18:13:17 +01:00
binfile: /var/lib/gitea/gitea
2021-12-29 16:56:39 +01:00
configfile: /var/lib/gitea/custom/conf/app.ini
user: git
group: git
2020-07-10 00:58:55 +02:00
version: "1.0.2"
arch: "amd64"
2021-12-29 16:56:39 +01:00
config:
global:
app_name: Gitea - Git with a cup of tea
run_user: git
run_mode: prod
database:
db_type: postgres
host: 127.0.0.1:5432
name: gitea
user: gitea
passwd: databaseSecretPassword
ssl_mode: enable
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
root_url: https://git.example.com/
2022-01-25 00:17:22 +01:00
disable_ssh: "true"
start_ssh_server: "false"
2021-12-29 16:56:39 +01:00
ssh_port: 2222
ssh_listen_port: 2222
2022-01-25 00:17:22 +01:00
offline_mode: "false"
lfs_start_server: "false"
2021-12-29 16:56:39 +01:00
lfs_content_path: data/lfs
lfs_jwt_secret: createYourOwnJWTSecret
2022-01-25 00:17:22 +01:00
enable_gzip: "false"
2021-12-29 16:56:39 +01:00
landing_page: home
cache:
2022-01-25 00:17:22 +01:00
enabled: "true"
2021-12-29 16:56:39 +01:00
adapter: redis
host: redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s
mailer:
2022-01-25 00:17:22 +01:00
enable: "true"
2021-12-29 16:56:39 +01:00
hostname: mail.example.com
hostandport: mail.example.com:587
from_address: git@example.com
smtp_user: git@example.com
smtp_password: secretPassword1234
2022-01-25 00:17:22 +01:00
skip_verify: "false"
2021-12-29 16:56:39 +01:00
service:
2022-01-25 00:17:22 +01:00
register_email_confirm: "true"
disable_registration: "true"
require_signin_view: "true"
enable_captcha: "true"
enable_notify_mail: "true"
2021-12-29 16:56:39 +01:00
picture:
2022-01-25 00:17:22 +01:00
disable_gravatar: "false"
2021-12-29 16:56:39 +01:00
attachment:
2022-01-25 00:17:22 +01:00
enabled: "true"
2021-12-29 16:56:39 +01:00
path: data/attachments
allowed_types: image/jpeg|image/png
max_size: 8
max_files: 5
cron:
2022-01-25 00:17:22 +01:00
enabled: "true"
run_at_start: "false"
2021-12-29 16:56:39 +01:00
cron.update_mirrors:
schedule: "0 12 3 * * *"
cron.archive_cleanup:
2022-01-25 00:17:22 +01:00
enabled: "false"
2021-12-29 16:56:39 +01:00
cron.delete_repo_archives:
2022-01-25 00:17:22 +01:00
enabled: "false"
2021-12-29 16:56:39 +01:00
session:
provider: file
2022-01-25 00:17:22 +01:00
cookie_secure: "true"
2021-12-29 16:56:39 +01:00
cookie_name: i_like_gitea
log:
root_path: /var/log/gitea
2021-12-29 16:56:39 +01:00
mode: file
2022-06-28 23:20:47 +02:00
level: info
2021-12-29 16:56:39 +01:00
security:
2022-01-25 00:17:22 +01:00
install_lock: "false"
2021-12-29 16:56:39 +01:00
secret_key: twogirlsonecup
login_remember_days: 30
cookie_username: giteauser
cookie_remember_name: giteausersession
internal_token: motherfuckingtoken
other:
2022-01-25 00:17:22 +01:00
show_footer_branding: "true"
show_footer_version: "true"
2021-12-29 16:56:39 +01:00
oauth2:
jwt_secret: createYourOwnJWTSecret