A containerized web interface for DeepSeek Harness AI models
245
A containerized web interface for DeepSeek Harness AI models
Note: This is a community-maintained Docker image, as there is currently no official image provided by the DeepSeek Harness project. The original source code can be found at deepseek-ai/deepseek-harness.
Run a full-featured DeepSeek AI chat interface with one command.
Create a .env file
DEEPSEEK_API_KEY=sk-your-api-key-here
DSH_TOKEN=your-custom-fixed-token-here
IMAGE_TAG=1.0.14
Run with Docker Compose
services:
dsh:
image: "prateekrajgautam/dsh:${IMAGE_TAG:-latest}"
container_name: dsh
# Required because DSH only supports localhost binding.
# With host networking, container localhost maps to host localhost.
network_mode: host
env_file:
- .env
restart: unless-stopped
environment:
# DeepSeek API key
DEEPSEEK_API_KEY: ${DEEPSEEK_API_KEY}
# Authentication token for DSH
DSH_TOKEN: ${DSH_TOKEN}
volumes:
# Persistent DSH configuration and session data
- dsh_data:/root/.dsh
# Optional custom plugins
- dsh_plugins:/app/plugins
volumes:
dsh_data:
name: dsh_data
dsh_plugins:
name: dsh_plugins
Start the service
docker compose up -d
docker compose logs
Then open http://127.0.0.1:3080/?token=your-custom-fixed-token-here in your browser.
| Variable | Description |
|---|---|
DEEPSEEK_API_KEY | Your DeepSeek API key. |
DSH_TOKEN | A fixed token for consistent access to the UI. |
IMAGE_TAG | Docker image tag (default: 1.0.14). |
| Volume | Path | Purpose |
|---|---|---|
dsh_data | /root/.dsh | User settings, API keys, conversation history |
dsh_plugins | /app/plugins | Custom plugins (optional) |
Modern Web UI
Extensible Plugin System
Persistent Storage
Multi-Model Support
# Start the service
docker compose up -d
# View logs
docker compose logs -f dsh
# Stop the service
docker compose down
# Restart the service (to apply .env changes)
docker compose up -d
docker compose pscurl -v http://127.0.0.1:3080docker compose logs dsh.env file is created and correctly formatted.docker compose up -d.docker inspect dsh | grep -A 10 "Env"┌─────────────────────────────────┐
│ Web Browser (3080) │
└────────────────┬────────────────┘
│
┌────────────────▼────────────────┐
│ Docker Container (dsh) │
├─────────────────────────────────┤
│ Node.js + DeepSeek Harness │
├─────────────────────────────────┤
│ ✓ Web UI (Pnpm) │
│ ✓ API Client │
├─────────────────────────────────┤
│ Volumes: │
│ • dsh_data (Settings/History) │
│ • dsh_plugins (Plugins) │
└──────────┬──────────────────────┘
│
┌──────────▼──────────────────────┐
│ DeepSeek API │
│ (api.deepseek.com) │
└─────────────────────────────────┘
MIT License
Content type
Image
Digest
sha256:31d94ab28…
Size
167.4 MB
Last updated
18 days ago
docker pull prateekrajgautam/dsh