The Complete Guide to Docker Deployment
DeepGemini offers two Docker deployment options, which are as followsRecommended Workflow::
- environmental preparation::
- fulfillment
docker pull bradleylzh/deepgemini:latestGetting the latest mirrors - Copy the environment template file
cp .env.example .env - Creating an empty database file
echo "" > deepgemini.db
- fulfillment
- Key Configurations: Edit the .env file to at least configure it:
ALLOW_API_KEY: Setting the access keyALLOW_ORIGINS: Configure cross-domain permissions (production environments recommend specifying the domain name instead of *)- API key for each model (e.g. DEEPSEEK_API_KEY)
- Launch Container::
- Base Command:
docker run -d -p 8000:8000 -v $(pwd)/.env:/app/.env -v $(pwd)/deepgemini.db:/app/deepgemini.db --name deepgemini - Recommended
docker-compose up -d(Compose files need to be configured in advance)
- Base Command:
Visit after successful deploymenthttp://localhost:8000/dashboardYou can enter the management interface. If there is a port conflict, modify the-p 宿主端口:8000Ready to go.
This answer comes from the articleDeepGemini: Multi-model orchestration of tasks and encapsulation into an API interfaceThe































