paulbsd-salt/states/gitea/defaults.yaml

108 lines
2.7 KiB
YAML
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
gitea:
2023-10-10 09:07:06 +02:00
release_url: https://dl.gitea.io/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"
2023-10-10 09:07:06 +02:00
os: linux
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
2023-07-21 23:14:57 +02:00
work_path: /var/lib/gitea
2021-12-29 16:56:39 +01:00
database:
db_type: postgres
host: 127.0.0.1:5432
name: gitea
user: gitea
passwd: databaseSecretPassword
ssl_mode: enable
path: data/gitea.db
repository:
2023-12-06 16:53:29 +01:00
root: /var/lib/gitea/data/gitea-repositories
2023-10-10 09:07:06 +02:00
default_branch: master
2023-12-06 16:53:29 +01:00
repo-archive:
path: /var/lib/gitea/data/repo-archive
2021-12-29 16:56:39 +01:00
server:
domain: git.example.com
2022-10-01 20:08:51 +02:00
http_addr: "::"
2021-12-29 16:56:39 +01:00
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_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
2023-07-21 23:14:57 +02:00
lfs:
path: data/lfs
2021-12-29 16:56:39 +01:00
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"
2024-03-24 23:12:56 +01:00
cron.delete_old_actions:
enabled: "true"
run_at_start: "true"
schedule: "0 0 3 * * *"
2024-03-26 08:07:35 +01:00
older_than: "90d"
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
2023-07-21 23:14:57 +02:00
#disable_router_log: true
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