The web interface will be available at http://localhost:8080/project (username: adminPC, password: adminPC)
- Register at DJI Developer Center
- Create a new application:
- Go to Developer Center → Apps → Create App
- Select "Cloud API" as App Type
- Fill in the required information
- Wait for the activation email
Create a .env.secret
file in the root directory with your DJI application credentials:
VITE_APP_ID=<your_app_id>
VITE_APP_KEY=<your_app_key>
VITE_APP_LICENSE=<your_app_license>
Replace the placeholders with values from your DJI Developer account.
The docker-compose setup includes:
- Web Frontend: Vue.js application (port 8080)
- Cloud API: Spring Boot backend (port 6789)
- EMQX: MQTT broker (ports 1883, 8083, 8084, 8883, 18083)
- MySQL: Database (port 3306)
- Redis: Cache (port 6379)
- Open DJI Pilot 2
- Navigate to Cloud Services
- Click "Open Platforms" in bottom right
- Enter:
http://<your_ip>:8080/pilot-login
- Click "Connect"
- Login with:
- Username: pilot
- Password: pilot123
If you prefer to run services locally without Docker, refer to the DJI Developer Documentation for detailed setup instructions.
- Node.js and npm
- Java Development Kit (JDK)
- MySQL
- Redis
- EMQX
The official DJI Cloud API 1.10.0 was released on 7 April 2024. For more information, please visit the Release Note.
This fork is maintained by Spantree, LLC and includes first-class Docker support for easier deployment. Key improvements include:
- Containerized Deployment: Complete Docker and docker-compose configuration
- Environment Management: Improved environment variable handling with TypeScript support
- Dependency Updates: Removed problematic mirror dependencies for better build reliability
- Service Integration: Pre-configured supporting services (MySQL, Redis, EMQX)
Pre-built Docker containers are available on Docker Hub:
- Frontend: spantree/dji-cloud-api-demo-web
- Backend: spantree/dji-cloud-api-sample
For detailed changelog information, please refer to the repository commit history.
This project is MIT-licensed. Please refer to the LICENSE file for more information.