compose-gen

Verified·Scanned 2/18/2026

Generates a docker-compose.yml by scanning the project and synthesizing YAML via OpenAI. The tool initializes the OpenAI client from OPENAI_API_KEY (process.env.OPENAI_API_KEY) and calls openai.chat.completions.create, which causes outbound network requests.

from clawhub.ai·v8e2a8d5·42.9 KB·0 installs
Scanned from 1.0.1 at 8e2a8d5 · Transparency log ↗
$ vett add clawhub.ai/lxgicstudios/compose-gen

ai-docker-compose

Scans your project and generates a docker-compose.yml that actually makes sense.

Install

npm install -g ai-docker-compose

Usage

npx ai-docker-compose                          # scan and generate
npx ai-docker-compose --preview                # print to stdout
npx ai-docker-compose -a "redis,postgres"      # add extra services

Options

  • -d, --dir <path> - Project directory (default: current)
  • -o, --output <file> - Output file (default: docker-compose.yml)
  • --preview - Print to stdout
  • -a, --add <services> - Extra services to include

Setup

export OPENAI_API_KEY=sk-...

License

MIT