satangthevalue/ai-skills/hermes-production-deploy
Claude Code and agent skill by satangthevalue/ai-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Procedural best practices for deploying Node.js (Next.js) and Python (FastAPI) SaaS applications on Hermes-managed VPS with Docker/Traefik.
Install
npx vskill@latest install satangthevalue/ai-skills/hermes-production-deploySKILL.md
The same SKILL.md was published earlier as satangthevalue/ai-skills/hermes-production-deploy.
Production Deployment Checklist
1. Environment Readiness
- Disk Management: Always check
df -hbeforedocker build. If >80%, rundocker system prune -fproactively. - Port Management: Ensure
docker-compose.ymldoes not bind host ports used by Traefik (80, 443). Use internal network for inter-container communication. - Credential Handling: Never hardcode secrets in
main.py,admin_routes.py,auth.ts, or any source file. Inject via.env,docker-composeenv blocks, or CI/CD secrets. For feature flags/admin keys, referenceprocess.env.NEXT_PUBLIC_*in Next.js andos.getenvin Python, with a fallback only for local development. - Verified URL Protocol: When calling external/internal APIs from scripts, always confirm the scheme/port with a real
curlbefore returning the URL to the user. Do not trust assumption thathttp://lives at the same address ashttps://.
2. Docker & Build Reliability
- Next.js Build: Always set
ENV CI=trueandpnpm config set confirmModulesPurge falsein Dockerfile for automated CI/CD environments. - Production Build: Use
next buildinside the builder stage. - Persistence: Ensure volumes for database (Postgres) are defined to prevent data loss on container recreation.
3. Verification Protocol (CRITICAL)
- Status Check: After every
docker compose up, verify withdocker ps. - Health Verification: Use
curl -I <URL>to verify HTTP 200/404 before confirming success to the user. - Rebuild After Code-Only Changes: Edits to FastAPI source (
admin_routes.py,ai_parser.py) or.envreferences do not propagate to running containers automatically. Rundocker compose up -d --build <service>before retesting. - Container->Host Service Access: A container cannot reach host-bound services through
localhost. Inspect the Compose network gateway (docker network inspect <project>_default | grep Gateway), use that IP/port externally, and verify withdocker exec <container> curl -s http://<gateway_ip>:<port>. - GET vs HEAD: Some FastAPI routers allow only GET. If
HEAD /healthreturns 405, usecurl -s http://host:port/healthfor a JSON probe. - Log Monitoring: Use
docker compose logs -f <service>immediately after deployment to catch startup errors.
4. Troubleshooting
- Address already in use: Always
pkillremaining Uvicorn/Next processes on host before starting Docker containers. - DB Connection: Ensure container hostnames (e.g.,
satangthebank-db) match theDATABASE_URLenv variable.
Security
- Security scanPassed, 95 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/hermes-production-deploy/SKILL.md
Popularity
- 7-day trend score
- 5
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/hermes-production-deploy)