homelab/roles/forgejo/templates/app.ini.j2

61 lines
1.2 KiB
Django/Jinja

[DEFAULT]
RUN_MODE=prod
RUN_USER={{ run_user }}
WORK_PATH={{ work_path }}
[database]
DB_TYPE={{ db_type }}
HOST={{ db_host }}
NAME={{ db_name }}
USER={{ db_user }}
PASSWD={{ db_password }}
[storage]
[log]
LEVEL={{ log_level }}
ROOT_PATH={{ log_root_path }}
[mailer]
ENABLED={{ smtp_enabled | string }}
SMTP_ADDR={{ smtp_addr }}
SMTP_PORT={{ smtp_port | string }}
USER={{ smtp_user }}
PASSWD={{ smtp_password }}
[oauth2]
JWT_SECRET={{ oauth2_jwt_secret }}
[repository]
ROOT={{ repositories_root }}
[security]
INSTALL_LOCK={{ install_lock | string }}
INTERNAL_TOKEN={{ internal_token }}
SECRET_KEY={{ secret_key }}
[server]
DOMAIN={{ domain }}
ROOT_URL={{ root_url }}
HTTP_PORT={{ http_port | string }}
STORAGE_TYPE={{ storage_type }}
APP_DATA_PATH={{ app_data_path }}
LFS_START_SERVER={{ lfs_start_server | string }}
LFS_JWT_SECRET={{ lfs_jwt_secret }}
START_SSH_SERVER={{ start_ssh_server | string }}
SSH_PORT={{ ssh_port | string }}
SSH_LISTEN_PORT={{ ssh_listen_port | string }}
[session]
COOKIE_NAME={{ cookie_name }}
COOKIE_SECURE={{ cookie_secure | string }}
[service]
DISABLE_REGISTRATION={{ disable_registration | string }}
SHOW_REGISTRATION_BUTTON={{ show_registration_button | string }}
[cache]
ADAPTER={{ cache_adapter }}
HOST={{ cache_host }}