chore(07): remove deprecated bash scripts and legacy env files

This commit is contained in:
2026-04-23 12:56:30 +03:00
parent 01e30ba7b5
commit d9dffdc389
14 changed files with 165 additions and 512 deletions

View File

@@ -72,6 +72,12 @@ def _apply_env_overrides(config):
"LOGS_DIR": (("application", "logs_dir"), str),
"BACKEND_APPLICATION_CORS_ORIGINS": (("application", "cors_origins"), str),
"EXTRA_ALLOWED_ORIGINS": (("application", "cors_origins"), str),
"ALLOWED_ORIGINS": (("application", "cors_origins"), str),
"SERVER_IP": (("application", "server_ip"), str),
"FRONTEND_PORT": (("application", "frontend_port"), str),
"FRONTEND_SSL_PORT": (("application", "frontend_ssl_port"), str),
"BACKEND_PORT": (("application", "backend_port"), str),
"BACKEND_SSL_PORT": (("application", "backend_ssl_port"), str),
}
sensitive_vars = [
@@ -136,7 +142,12 @@ def load_config() -> dict:
"application": {
"data_dir": "./data",
"logs_dir": "./logs",
"cors_origins": "http://localhost:8917"
"cors_origins": "http://localhost:8917",
"server_ip": "localhost",
"frontend_port": "8917",
"frontend_ssl_port": "8919",
"backend_port": "8918",
"backend_ssl_port": "8918"
},
"features": {
"ai_extraction_enabled": True,