Generate a starter Compose stack with selected services, ports, volumes, and dependencies.
Selected services are rendered into a Compose YAML mapping with images, ports, volumes, environment entries, and dependency relationships. The output describes a stack but does not pull images, create networks, or test host availability.
App service: true App port: 3000 Database: postgres Redis: true Nginx: false Volumes: true Healthchecks: true
services:
app:
build: .
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- DATABASE_URL=${DATABASE_URL}
- REDIS_URL=redis://redis:6379
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy
restart: unless-stopped
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: ${DB_USER:-postgres}
POSTGRES_PASSWORD: ${DB_PASSWORD:-password}
POSTGRES_DB: ${DB_NAME:-mydb}
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s…
Local development, integration tests, and README stack examples generate Compose files.