Complete Guide to Running n8n with Docker Compose for AI Workflows

TL;DR Running n8n with Docker Compose gives you a production-ready automation platform for AI workflows without managing complex dependencies. This guide walks through setting up n8n with persistent storage, environment configuration, and AI integrations using OpenAI, Anthropic, and local LLMs. Docker Compose handles multi-container orchestration, making it straightforward to add PostgreSQL for workflow history, Redis for queue management, and reverse proxies for SSL termination. The setup takes under 10 minutes and provides a stable foundation for building AI-powered workflows that process documents, generate content, and orchestrate multi-step automations. ...

February 23, 2026 · 8 min · Local AI Ops

Using LLMs to Generate Nginx Configuration

TL;DR LLMs excel at generating Nginx configurations from natural language requirements, but require strict validation workflows. This guide demonstrates using Claude 3.5 Sonnet and GPT-4 via API to produce production-ready configs, integrated with nginx -t validation and Ansible deployment pipelines. Core workflow: Describe your requirements in structured prompts, LLM generates config, automated syntax validation, manual security review, then deploy via configuration management. This reduces configuration time from hours to minutes while maintaining safety through validation gates. ...

February 20, 2026 · 7 min · Local AI Ops

Building an LLM-Driven Ansible Playbook Generator

TL;DR This guide demonstrates building a production-ready system that uses LLMs (Claude 3.5 Sonnet or GPT-4) to generate Ansible playbooks from natural language descriptions. You’ll create a Python-based generator that takes infrastructure requirements as input and outputs syntactically correct, idiomatic Ansible YAML with proper role structure, variables, and handlers. The core workflow: parse user intent, construct structured prompts with Ansible best practices, call the LLM API, validate generated YAML, run ansible-lint, and present for human review. We’ll use the Anthropic API with prompt caching to reduce costs on repeated generation tasks, implement JSON schema validation for playbook structure, and integrate ansible-playbook –syntax-check as a safety gate. ...

February 20, 2026 · 7 min · Local AI Ops
Buy Me A Coffee