30 lines
711 B
Plaintext
30 lines
711 B
Plaintext
# GasFlux Web API - Environment Variables Example
|
|
# Copy this file to your environment and modify as needed
|
|
|
|
# Server Configuration
|
|
GASFLUX_HOST=0.0.0.0
|
|
GASFLUX_PORT=5000
|
|
GASFLUX_DEBUG=false
|
|
|
|
# Directory Configuration
|
|
GASFLUX_UPLOAD_FOLDER=web_api_data/uploads
|
|
GASFLUX_OUTPUT_FOLDER=web_api_data/outputs
|
|
|
|
# File Size Limits (in bytes)
|
|
GASFLUX_MAX_CONTENT_LENGTH=104857600 # 100MB
|
|
|
|
# Logging Configuration
|
|
GASFLUX_LOG_LEVEL=INFO
|
|
GASFLUX_LOG_FILE=logs/gasflux_api.log
|
|
|
|
# CORS Configuration
|
|
GASFLUX_CORS_ORIGINS=*
|
|
|
|
# Task Management
|
|
GASFLUX_TASK_CLEANUP_INTERVAL=3600 # 1 hour
|
|
GASFLUX_MAX_TASK_AGE=86400 # 24 hours
|
|
|
|
# Performance Tuning
|
|
GASFLUX_THREADS=8
|
|
GASFLUX_CONNECTION_LIMIT=100
|
|
GASFLUX_CHANNEL_TIMEOUT=300 |