Containers & Orchestration · Integration Playbook

Custom HTTPS Domain for Docker Compose

Point an A record at your Docker host IP. Run Caddy or Traefik next to your app for HTTPS routing.

Best Mode A Record + DNS-01
Setup 3 Commands
TLS Cert ACME DNS-01 / Caddy
Trial Cost $0 / 30 days
ORIGIN IP Docker Compose 203.0.113.15 Your server or PaaS DNS A AGENTDOMAINS Authoritative A Record compose-app.agentdomains.co DNS-01 TXT + Caddy / Certbot TLS 1.3 AUTO HTTPS Users & Agents Port 443 · Valid Cert Zero bandwidth caps

Origin-to-edge flow for Docker Compose: connect 203.0.113.15 to compose-app.agentdomains.co with automatic HTTPS.

1. Choose Mode: Edge Proxy vs DNS-01

Edge HTTPS Reverse Proxy

FOR PAAS HOSTS
  • Point at any public hostname without https://.
  • Cloudflare edge handles TLS 1.3 automatically.
  • Zero Certbot config and zero IP exposure.
Docker Compose — 3-command AgentDomains setup
agentdomains signup
agentdomains claim compose-app --email you@example.com --domain agentdomains.co
agentdomains record compose-app --domain agentdomains.co --type A --content 203.0.113.15

2. Interactive: Generate My CLI Command

Enter your subdomain label and origin below. Copy the generated commands or check live name availability.

Live CLI Generator & Availability Checker
Click "Check Availability Live" to query api.agentdomains.co/v1/available.
Generated shell commands for Docker Compose

        

3. Docker Compose Origin Configuration

Apply this config on Docker Compose so headers, TLS, and routing match your new hostname.

Docker Compose server / platform config
services:
  caddy:
    image: caddy:2-alpine
    ports: ["80:80", "443:443"]
    command: caddy reverse-proxy --from compose-app.makes.fyi --to app:3000
  app:
    build: .

Operational Checklist

Debug DNS & ACME Live → Connect via MCP Instead

Frequently asked questions

Should I use edge proxy or an A record for Docker Compose?

Point an A record at your Docker host IP. Run Caddy or Traefik next to your app for HTTPS routing.

How do I check DNS propagation for Docker Compose?

Open /tools/dns-ssl-checker or run dig @1.1.1.1 compose-app.agentdomains.co. Confirm both Cloudflare and Google return your record.

Can an AI agent configure Docker Compose routing via MCP?

Yes. Connect your client to https://mcp.agentdomains.co. Ask it to call claim_domain and add_dns_record.

Related Host Playbooks

Web Frameworks

FastAPI (Python)

Deploy FastAPI on Fly.io, Railway, or Render. Add agentdomains proxy so /docs and /openapi.json serve over HTTPS.

Web Frameworks

Next.js

Use agentdomains proxy for Next.js on Railway, Fly.io, or Render. On Vercel, add a custom domain CNAME because Vercel checks the Host header.

Web Frameworks

Express.js (Node)

Use agentdomains proxy for PaaS Express apps, or an A record on a VPS. Enable trust proxy so req.ip works right.

Web Frameworks

Go net/http

Point an A record at your Linux server. Serve HTTPS directly with Go autocert and skip external proxies.

30 Days Free · No Card Required

Claim your agent domain now

Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.