59 lines
867 B
TOML
59 lines
867 B
TOML
# Rustelo Configuration File
|
|
# Generated by Configuration Wizard
|
|
|
|
root_path = "."
|
|
|
|
[features]
|
|
auth = true
|
|
content-db = true
|
|
crypto = true
|
|
email = true
|
|
examples = true
|
|
rbac = true
|
|
tls = true
|
|
|
|
[server]
|
|
protocol = "http"
|
|
host = "127.0.0.1"
|
|
port = 3030
|
|
environment = "dev"
|
|
workers = 4
|
|
|
|
[database]
|
|
url = "sqlite:rustelo.db"
|
|
max_connections = 10
|
|
enable_logging = true
|
|
|
|
[auth.jwt]
|
|
secret = "your-secret-key-here"
|
|
expiration = 3600
|
|
|
|
[auth.security]
|
|
max_login_attempts = 5
|
|
require_email_verification = false
|
|
|
|
[email]
|
|
smtp_host = "fdasf"
|
|
smtp_port = 587
|
|
smtp_username = "fdsfs"
|
|
smtp_password = "fds"
|
|
from_email = "noreply@localhost"
|
|
from_name = "Rustelo App"
|
|
|
|
[security]
|
|
enable_csrf = true
|
|
rate_limit_requests = 100
|
|
bcrypt_cost = 12
|
|
|
|
[ssl]
|
|
force_https = true
|
|
|
|
[cache]
|
|
enabled = true
|
|
type = "memory"
|
|
default_ttl = 3600
|
|
|
|
[build_info]
|
|
environment = "dev"
|
|
config_version = "1.0.0"
|