paulbsd-salt/states/forgejo/defaults.yaml
Paul 1b256c5e6d
All checks were successful
continuous-integration/drone/push Build is passing
add forgejo state
2025-03-01 09:42:01 +01:00

108 lines
2.8 KiB
YAML

---
forgejo:
release_url: https://dl.forgejo.io/forgejo
workingdir: /var/lib/forgejo
binfile: /var/lib/forgejo/forgejo
configfile: /var/lib/forgejo/custom/conf/app.ini
user: git
group: git
version: "10.0.0"
os: linux
arch: amd64
config:
global:
app_name: Forgejo - Beyond coding. We forge.
run_user: git
run_mode: prod
work_path: /var/lib/forgejo
database:
db_type: postgres
host: 127.0.0.1:5432
name: forgejo
user: forgejo
passwd: databaseSecretPassword
ssl_mode: enable
path: data/forgejo.db
repository:
root: /var/lib/forgejo/data/forgejo-repositories
default_branch: master
repo-archive:
path: /var/lib/forgejo/data/repo-archive
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"
cron.delete_old_actions:
enabled: "true"
run_at_start: "true"
schedule: "0 0 3 * * *"
older_than: "90d"
session:
provider: file
cookie_secure: "true"
cookie_name: i_like_forgejo
log:
root_path: /var/log/forgejo
#disable_router_log: true
mode: file
level: info
security:
install_lock: "false"
secret_key: twogirlsonecup
login_remember_days: 30
cookie_username: forgejouser
cookie_remember_name: forgejousersession
internal_token: motherfuckingtoken
other:
show_footer_branding: "true"
show_footer_version: "true"
oauth2:
jwt_secret: createYourOwnJWTSecret