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

65 lines
1.4 KiB
Text
Raw Normal View History

2024-10-01 02:05:54 +05:00
[DEFAULT]
RUN_MODE=prod
2024-11-11 15:09:10 +05:00
RUN_USER={{ run_user }}
WORK_PATH={{ work_path }}
2024-10-01 02:05:54 +05:00
[database]
2024-11-11 15:09:10 +05:00
DB_TYPE={{ db_type }}
HOST={{ db_host }}
NAME={{ db_name }}
USER={{ db_user }}
PASSWD={{ db_password }}
2024-10-01 02:05:54 +05:00
[storage]
2024-11-11 15:09:10 +05:00
STORAGE_TYPE={{ storage_type }}
MINIO_ENDPOINT={{ minio_endpoint }}
2024-10-01 02:05:54 +05:00
MINIO_ACCESS_KEY_ID={{ minio_access_key_id }}
MINIO_SECRET_ACCESS_KEY={{ minio_secret_access_key }}
2024-11-11 15:09:10 +05:00
MINIO_BUCKET={{ minio_bucket }}
2024-10-01 02:05:54 +05:00
[log]
2024-11-11 15:09:10 +05:00
LEVEL={{ log_level }}
ROOT_PATH={{ log_root_path }}
2024-10-01 02:05:54 +05:00
[mailer]
2024-11-11 15:09:10 +05:00
ENABLED={{ smtp_enabled | string }}
SMTP_ADDR={{ smtp_addr }}
SMTP_PORT={{ smtp_port | string }}
USER={{ smtp_user }}
2024-10-21 20:51:19 +05:00
PASSWD={{ smtp_password }}
2024-10-01 02:05:54 +05:00
[oauth2]
JWT_SECRET={{ oauth2_jwt_secret }}
[repository]
2024-11-11 15:09:10 +05:00
ROOT={{ repositories_root }}
2024-10-01 02:05:54 +05:00
[security]
2024-11-11 15:09:10 +05:00
INSTALL_LOCK={{ install_lock | string }}
2024-10-01 02:05:54 +05:00
INTERNAL_TOKEN={{ internal_token }}
SECRET_KEY={{ secret_key }}
[server]
2024-11-11 15:09:10 +05:00
DOMAIN={{ domain }}
ROOT_URL={{ root_url }}
HTTP_PORT={{ http_port | string }}
LFS_START_SERVER={{ lfs_start_server | string }}
2024-10-01 02:05:54 +05:00
LFS_JWT_SECRET={{ lfs_jwt_secret }}
2024-11-11 15:09:10 +05:00
START_SSH_SERVER={{ start_ssh_server | string }}
SSH_PORT={{ ssh_port | string }}
SSH_LISTEN_PORT={{ ssh_listen_port | string }}
2024-10-01 02:05:54 +05:00
[session]
2024-11-11 15:09:10 +05:00
COOKIE_NAME={{ cookie_name }}
COOKIE_SECURE={{ cookie_secure | string }}
2024-10-01 02:05:54 +05:00
[service]
2024-11-11 15:09:10 +05:00
DISABLE_REGISTRATION={{ disable_registration | string }}
SHOW_REGISTRATION_BUTTON={{ show_registration_button | string }}
2024-10-01 02:05:54 +05:00
[cache]
2024-11-11 15:09:10 +05:00
ADAPTER={{ cache_adapter }}
HOST={{ cache_host }}