Deployment In Progress¶
Running DeepFlyer on Your Own Server¶
DeepFlyer is distributed as a Docker Compose stack. You can self-host it on any Linux machine with an NVIDIA GPU.
Server Requirements¶
| Component | Minimum |
|---|---|
| OS | Ubuntu 22.04 LTS or 24.04 LTS |
| GPU | NVIDIA GPU with CUDA 12+ (GTX 1660 or better) |
| RAM | 16 GB (32 GB recommended for 10+ concurrent users) |
| Storage | 40 GB free for Docker images |
| Docker | Engine 24+ with NVIDIA Container Toolkit |
Quick Start¶
🚧
Being Written
🚧
Being Written
This tab will list every environment variable with its default value and description.
- SECRET_KEY: JWT signing secret
- POSTGRES_HOST / USER / PASSWORD / DB: database connection settings
- SIM_IMAGE: simulation container image tag
- DRONESIM_NETWORK: Docker network name
- API_BASE_PORT / VIDEO_BASE_PORT: port range start values
- IDLE_TIMEOUT_S: seconds before an idle container is destroyed
- USE_GPU: enable or disable NVIDIA GPU passthrough
🚧
Being Written
This tab will describe each service defined in docker-compose.yml.
- frontend: React app served by Nginx
- backend: FastAPI app with Uvicorn
- postgres: PostgreSQL 15 with init scripts
- Volume mounts and network configuration
- Health checks and restart policies
- GPU device reservation syntax
🚧
Being Written
This tab will show the full PostgreSQL schema.
- users table: id, name, email, hashed_password, created_at
- sim_sessions table: user_id, activity, api_port, video_port, status, timestamps
- activity_results table: user_id, activity, score, duration_s, status, created_at
- user_badges table: user_id, badge, awarded_at
- Index definitions and constraints