mirror of
https://github.com/KohakuBlueleaf/KohakuHub.git
synced 2026-03-09 07:12:07 -05:00
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[s3]
|
|
public_endpoint = "http://127.0.0.1:29001"
|
|
endpoint = "http://127.0.0.1:29001"
|
|
access_key = "minioadmin"
|
|
secret_key = "minioadmin"
|
|
bucket = "hub-storage"
|
|
region = "us-east-1"
|
|
force_path_style = true
|
|
|
|
[lakefs]
|
|
endpoint = "http://127.0.0.1:28000"
|
|
access_key = "xxx"
|
|
secret_key = "yyy"
|
|
repo_namespace = "hf"
|
|
|
|
[smtp]
|
|
enabled = false
|
|
host = "smtp.gmail.com"
|
|
port = 587
|
|
username = "your-email@gmail.com"
|
|
password = "your-app-password"
|
|
from_email = "noreply@yourdomain.com"
|
|
use_tls = true
|
|
|
|
[auth]
|
|
require_email_verification = false
|
|
session_secret = "change-me-in-production"
|
|
session_expire_hours = 168 # 7 days
|
|
token_expire_days = 365
|
|
|
|
[app]
|
|
base_url = "http://127.0.0.1:48888"
|
|
api_base = "/api"
|
|
db_backend = "postgres" # or "sqlite"
|
|
database_url = "postgresql://hub:hubpass@127.0.0.1:25432/hubdb"
|
|
lfs_threshold_bytes = 10485760 # 10MB
|
|
debug_log_payloads = true
|
|
# LFS Garbage Collection settings
|
|
lfs_keep_versions = 5 # Keep last K versions of each LFS file
|
|
lfs_auto_gc = true # Automatically delete old LFS objects on commit
|
|
# Site identification
|
|
site_name = "KohakuHub" # Customizable site name (e.g., "MyCompany Hub")
|