# Docker Compose + Nginx + TLS Runbook for a Trading Bot

> Ops runbook for a dockerised trading bot with nginx and TLS: diagnose a dead site, renew certificates, serve by bare IP as a fallback, deploy without disturbing a live scheduler, and harden nginx headers and sshd.

Docker Compose + Nginx + TLS Runbook for a Trading Bot is a paid AI agent skill on Agensi by Claude Workflow Lab, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Claude Workflow Lab](https://www.agensi.io/creators/creator-1578)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/docker-compose-nginx-tls-runbook-for-a-trading-bot
- Tags: devops, trading, security, docker-compose, nginx, letsencrypt, certbot, deploy

## What it does

- Ops runbook for a dockerised trading bot behind nginx and TLS
- Diagnoses a site that does not open, read-only first
- Renews certificates and can serve the app by IP address without touching other hosts

## About this skill

A trading bot's web UI going down is rarely a mystery once you check in the right order, but a careless fix (a bare docker compose up -d) can recreate the scheduler at the worst moment. This skill is the runbook for a docker compose stack of backend, frontend and nginx on a shared Linux server.

What is inside:
- **SKILL.md** - connecting safely; how domain and TLS are typically wired; diagnosing "the site does not open" read-only and in order (expired certificate versus dead DNS versus stopped container); renewing the Let's Encrypt certificate with a dry run first; serving by bare IP as a temporary fallback; deploying backend and frontend from main with preconditions (outside your critical window, no job running), a consistent SQLite backup with the backup API, and why --no-deps matters; security headers and sshd hardening without locking yourself out; other gotchas; and an Adapt-to-your-setup section.
- **templates/make_ip_overlay.sh** - prints an nginx overlay that serves the app by IP address, matching the IP host only and never adding default_server. Run with --help for usage.

Who it is for: solo operators who run a bot and its UI on their own server. It assumes docker compose, nginx and certbot, and a SQLite database in the example. Placeholders such as your-prod-host and /srv/bot are replaced in the setup section. It is also part of the Production Ops: DB, Scrapers, Trading Bot pack at a lower per-skill price.

## Requires

- Claude Code or a compatible agent runtime
- SSH access to your own Linux server
- Docker and docker compose on that server
- A domain with Let's Encrypt certificates

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Docker Compose + Nginx + TLS Runbook for a Trading Bot skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Docker Compose + Nginx + TLS Runbook for a Trading Bot do?

Ops runbook for a dockerised trading bot with nginx and TLS: diagnose a dead site, renew certificates, serve by bare IP as a fallback, deploy without disturbing a live scheduler, and harden nginx headers and sshd.

### Which AI agents support Docker Compose + Nginx + TLS Runbook for a Trading Bot?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Docker Compose + Nginx + TLS Runbook for a Trading Bot?

Connect your AI agent to Agensi through MCP, then ask it to use Docker Compose + Nginx + TLS Runbook for a Trading Bot on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
