paulbsd-salt/states/gitea/defaults.yaml
2023-07-21 23:14:57 +02:00

98 lines
2.4 KiB
YAML

---
gitea:
workingdir: /var/lib/gitea
binfile: /var/lib/gitea/gitea
configfile: /var/lib/gitea/custom/conf/app.ini
user: git
group: git
version: "1.0.2"
arch: "amd64"
config:
global:
app_name: Gitea - Git with a cup of tea
run_user: git
run_mode: prod
work_path: /var/lib/gitea
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: "::"
http_port: 3000
root_url: https://git.example.com/
disable_ssh: "true"
start_ssh_server: "false"
ssh_port: 2222
ssh_listen_port: 2222
offline_mode: "false"
lfs_start_server: "false"
lfs_jwt_secret: createYourOwnJWTSecret
enable_gzip: "false"
landing_page: home
lfs:
path: data/lfs
cache:
enabled: "true"
adapter: redis
host: redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s
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:
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
cron:
enabled: "true"
run_at_start: "false"
cron.update_mirrors:
schedule: "0 12 3 * * *"
cron.archive_cleanup:
enabled: "false"
cron.delete_repo_archives:
enabled: "false"
session:
provider: file
cookie_secure: "true"
cookie_name: i_like_gitea
log:
root_path: /var/log/gitea
#disable_router_log: true
mode: file
level: info
security:
install_lock: "false"
secret_key: twogirlsonecup
login_remember_days: 30
cookie_username: giteauser
cookie_remember_name: giteausersession
internal_token: motherfuckingtoken
other:
show_footer_branding: "true"
show_footer_version: "true"
oauth2:
jwt_secret: createYourOwnJWTSecret