36 lines
719 B
Plaintext
36 lines
719 B
Plaintext
[server]
|
|
# Server configuration
|
|
host = 0.0.0.0
|
|
port = 5000
|
|
debug = false
|
|
base_url = http://localhost:5000
|
|
|
|
[paths]
|
|
# Directory paths (relative to project root or absolute)
|
|
uploads = ./web_api_data/uploads
|
|
outputs = ./web_api_data/outputs
|
|
|
|
[limits]
|
|
# File size and performance limits
|
|
max_content_length = 104857600 # 100MB in bytes
|
|
|
|
[logging]
|
|
# Logging configuration
|
|
level = INFO
|
|
file = logs/gasflux_api.log
|
|
|
|
[security]
|
|
# API key and security settings
|
|
admin_bootstrap_key =
|
|
|
|
[cleanup]
|
|
# Task cleanup settings
|
|
task_cleanup_interval = 3600 # 1 hour in seconds
|
|
max_task_age = 86400 # 24 hours in seconds
|
|
janitor_dry_run = false
|
|
[performance]
|
|
# Performance tuning
|
|
threads = 8
|
|
connection_limit = 100
|
|
channel_timeout = 300
|