satangthevalue/ai-skills/9router-docker-deployment
Claude Code and agent skill by satangthevalue/ai-skills
- community
Checking that the SKILL.md file is still in the repository.
Deploy and troubleshoot 9Router via Docker and Tailscale with password/DB injection fixes.
Install
npx vskill@latest install satangthevalue/ai-skills/9router-docker-deploymentSKILL.md
The same SKILL.md was published earlier as satangthevalue/ai-skills/9router-docker-deployment.
9Router Docker Deployment & Troubleshooting
9Router is an AI Token Saver & Router. When deploying it via Docker, especially in isolated networks (Tailscale), specific configurations are required to ensure security and proper initialization.
Quick Start (Docker Compose)
⚠️ Critical Pitfalls & Fixes
- INITIAL_PASSWORD Ignored / Lockout Issue (IP Binding):
If you bind 9Router to 0.0.0.0 (all interfaces) instead of a local/Tailscale IP, its security system detects remote exposure and blocks the default 123456 password, causing a lockout error: Default password must be changed before remote access.
- Fix: You MUST explicitly set
INITIAL_PASSWORD=<your_secure_password>in theenvironmentblock ofdocker-compose.ymlto log in via remote IP. - Alternative (Local/Tailscale only): Remove
INITIAL_PASSWORD, wipe the data directory, restart the container, and access via127.0.0.1or100.x.x.xto use123456and change it via UI.
- Permission Denied for WebUI / Non-Root Containers:
When running 9Router or similar apps (like Hermes WebUI) that drop privileges (e.g., running as UID 1024), do not mount volumes to /root or rely on Docker-managed volumes without proper permissions. This causes SQLite Permission denied errors.
- Fix: Create a local folder (
mkdir data), grant permissions (chmod 777 data), and mount it to/app/datain the container.
- Tailscale vs. Localhost Binding:
To prevent public exposure, bind the exposed ports strictly to the Tailscale IP (100.x.y.z:20128:20128). Exception: If the OS host needs to connect via localhost:20128 (or other containers need host-gateway access), you MUST bind to all interfaces (20128:20128). Strict Tailscale binding disables localhost loopback access.
- Background Process Required for Startup:
When running docker compose up -d in a Hermes agent session, ALWAYS use terminal(background=true, notify_on_complete=true). Attempting to run it as a foreground process will cause the tool to fail or time out because it's interpreted as a long-lived server/watch process.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/devops/9router-docker-deployment/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/satangthevalue/ai-skills/9router-docker-deployment)