Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 47 additions & 8 deletions .env
Original file line number Diff line number Diff line change
@@ -1,41 +1,80 @@
# DL+ System Configuration
# تم إنشاؤه في: 2025-10-20

# System Information
# ===== System Information =====
SYSTEM_NAME="DL+ Unified Arabic Intelligence System"
SYSTEM_NAME_ARABIC="نظام DL+ للذكاء الصناعي العربي الموحد"
SYSTEM_VERSION="1.0.0"
ENVIRONMENT=development

# GitHub Configuration
# ===== GitHub Configuration =====
GITHUB_ENABLED=true
GITHUB_TOKEN=
GITHUB_REPO=wasalstor-web/AI-Agent-Platform

# Hostinger Configuration
# ===== Hostinger Configuration =====
HOSTINGER_ENABLED=true
HOSTINGER_HOST=localhost
HOSTINGER_PORT=8000
HOSTINGER_API_KEY=
HOSTINGER_SERVER_URL=http://localhost:8000

# FastAPI Configuration
# ===== FastAPI Configuration =====
FASTAPI_HOST=0.0.0.0
FASTAPI_PORT=8000
FASTAPI_SECRET_KEY=
FASTAPI_RELOAD=false

# OpenWebUI Configuration
# ===== OpenWebUI Configuration =====
OPENWEBUI_ENABLED=true
OPENWEBUI_PORT=3000
OPENWEBUI_HOST=0.0.0.0
OPENWEBUI_VERSION=latest
WEBUI_SECRET_KEY=

# Security Settings
# ===== Ollama Configuration =====
OLLAMA_API_BASE_URL=http://localhost:11434

# ===== Security Settings =====
ALLOWED_COMMANDS=file_create,file_read,file_update,file_delete,service_restart,openwebui_manage,log_view,status_check,backup_create
ALLOWED_PATHS=/var/www,/home,/tmp
ENABLE_AUTHENTICATION=true
ENABLE_ENCRYPTION=true
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8000

# Logging
# ===== Logging Configuration =====
LOG_LEVEL=INFO
LOG_FILE=./logs/dlplus.log
ENABLE_FILE_LOGGING=true

# AI Models Configuration
# ===== AI Models Configuration =====
MODELS_ENABLED=true
DEFAULT_MODEL=llama3
MODELS_PATH=./models

# ===== Arabic Language Settings =====
LANGUAGE=ar
ARABIC_STYLE=formal
ENABLE_CLASSICAL_ARABIC=true

# ===== Agent Configuration =====
AGENTS_ENABLED=true
MAX_AGENTS=10
AGENT_TIMEOUT=300

# ===== Context Settings =====
MAX_CONTEXT_HISTORY=10
CONTEXT_WINDOW_SIZE=4096

# ===== Performance Settings =====
ASYNC_MODE=true
MAX_WORKERS=4
REQUEST_TIMEOUT=60

# ===== VPS Configuration =====
VPS_HOST=
VPS_USER=root
VPS_PORT=22
HTTP_PORT=80
HTTPS_PORT=443
TIMEOUT=5
2 changes: 1 addition & 1 deletion setup-hostinger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ echo -e "${GREEN}Environment file created. Please edit .env with your settings.$
# Create FastAPI application
echo -e "${YELLOW}Creating FastAPI application...${NC}"
cat > main.py << 'EOF'
from fastapi import FastAPI, HTTPException, Header
from fastapi import FastAPI, HTTPException, Header, Depends
from typing import Optional
import os
from dotenv import load_dotenv
Expand Down