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
93 changes: 93 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Docker ignore file for AI Agent Platform
# ملف تجاهل Docker لمنصة وكيل الذكاء الاصطناعي

# Git
.git
.gitignore
.github

# Python
__pycache__
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Virtual environments
venv/
env/
ENV/
.venv

# IDE
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store

# Logs
*.log
logs/
dlplus.log

# Test coverage
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Documentation
docs/_build/
*.md
!README.md

# Temporary files
*.tmp
*.bak
*.swp
tmp/
temp/

# Environment files (keep example)
.env
!.env.example

# Node modules (if any)
node_modules/

# Scripts that are not needed in container
*.sh
!setup-openwebui.sh

# Example and test files
examples/
tests/
agent-reports/

# HTML files (except necessary ones)
*.html
!index.html
24 changes: 24 additions & 0 deletions .env.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Environment Variables for Docker Compose
# المتغيرات البيئية لـ Docker Compose

# FastAPI Settings
FASTAPI_HOST=0.0.0.0
FASTAPI_PORT=8000
FASTAPI_SECRET_KEY=change-me-to-a-secure-random-key-generated-with-openssl-rand-hex-32
LOG_LEVEL=info

# OpenRouter API Key (Optional - for AI model access)
OPENROUTER_API_KEY=your_openrouter_api_key_here

# OpenWebUI Settings (Optional)
OLLAMA_API_BASE_URL=http://host.docker.internal:11434
WEBUI_SECRET_KEY=change-me-to-another-secure-random-key
ENABLE_SIGNUP=true

# CORS Settings
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080,http://localhost:5000,http://localhost:8000

# Optional: VPS/Hostinger Settings (if deploying to VPS)
# VPS_HOST=your-vps.com
# VPS_USER=your-username
# VPS_KEY=your-ssh-key
Loading