Adiós a Docker Compose: levanta toda tu pila en segundos

Infra-tools: una CLI que levanta en segundos un stack completo de bases de datos, mensajería, observabilidad y gateway, sin configuración previa, con panel de estado y logs en vivo.

3 sept 2025 • 3 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

Todos hemos estado allí. Empiezas un proyecto nuevo, necesitas una base de datos, quizá Redis, tal vez Kafka para esa arquitectura de microservicios que estás construyendo. Y lo que sigue suele ser:

1. Buscar en Google docker compose postgresql

2. Copiar un archivo compose al azar

3. Modificarlo a mano

4. Descubrir que el puerto 5432 ya está en uso

5. Repetir lo mismo para cada servicio

¿Y si hubiera una forma mejor?

Presentamos infra-tools, una CLI que levanta servicios de nivel empresarial sin configuración previa.

Instalación y primeros pasos:

npm install -g infra-tools

infra-tools databases Bases de datos PostgreSQL, MySQL, MongoDB, Redis en marcha

infra-tools status Panel de estado claro y bonito

Inicio rápido:

infra-tools databases Inicia todas las bases de datos

infra-tools messaging Inicia servicios de mensajería

infra-tools status Revisa qué está ejecutándose

infra-tools logs postgres -f Sigue logs en tiempo real

infra-tools config redis Configuración interactiva

Qué incluye:

Más de 15 servicios listos para producción

Bases de datos: PostgreSQL, MySQL, MongoDB, Redis, SQL Server, Neo4j, CouchDB

Mensajería: Kafka, Zookeeper, RabbitMQ

Observabilidad: Elasticsearch, Logstash, Kibana, Prometheus, Grafana

Gateway: Kong API Gateway con panel de administración

Todos los servicios usan versiones estables recientes con parches de seguridad y mejoras de rendimiento.

Configuración inteligente:

infra-tools config postgres

Ejemplo de asistente interactivo:

PostgreSQL Image: postgres:17-alpine

Port: 5432

Password: ********

Database Name: myapp

Custom Environment Variables? Y n

Los cambios se guardan y se reutilizan en reinicios futuros.

Panel de estado claro:

infra-tools status

+--------------------------------------------------------+

¦ SERVICE ¦ STATUS ¦ PORTS ¦ HEALTH ¦

+-------------+----------+-------------+-----------------¦

¦ postgres ¦ Running ¦ 5432 ¦ Healthy ¦

¦ redis ¦ Running ¦ 6379 ¦ Healthy ¦

¦ kafka ¦ Running ¦ 9092 ¦ Healthy ¦

¦ grafana ¦ Running ¦ 3000 ¦ Healthy ¦

+--------------------------------------------------------+

Funciones listas para producción:

- Health checks en cada servicio

- Detección de conflictos de puertos y asignación inteligente

- Gestión de volúmenes y datos persistentes con backup sencillo

- Multiplataforma: Windows, macOS y Linux

- Límites de recursos con CPU y memoria controlados

Depuración sin fricción:

infra-tools vars postgres Ver variables de entorno

infra-tools shell redis Acceso shell interactivo

infra-tools ports Ver mapeo de puertos

infra-tools exec postgres psql -U postgres Ejecutar comandos

Casos de uso reales:

Desarrollo de microservicios: infra-tools databases messaging monitoring stack completo en unos 30 segundos

Data engineering: infra-tools kafka elasticsearch ideal para pipelines de streaming

Aplicaciones full-stack: infra-tools todo lo que necesitas

Por qué nació esta herramienta:

Después de años copiando archivos docker-compose entre proyectos, peleando con puertos ocupados, entornos inconsistentes y el clásico funciona en mi máquina, quería un solo comando que te diera todo lo necesario para el desarrollo moderno.

Cómo empezar:

npm install -g infra-tools

infra-tools --help

Enlaces útiles:

Repositorio en GitHub

Paquete en NPM

Documentación completa

¿Qué servicios te gustaría que añadamos después? Déjalo en los comentarios. Si esto te ahorra tiempo, una estrella en GitHub es de gran ayuda.

Sobre Q2BSTUDIO:

En Q2BSTUDIO aceleramos el desarrollo con aplicaciones a medida y software a medida integrando herramientas como infra-tools en flujos DevSecOps. Diseñamos entornos listos para producción, automatizamos despliegues y conectamos tu stack local con servicios cloud AWS y Azure cuando tu equipo lo necesita. Conoce cómo abordamos proyectos end to end en nuestro servicio de desarrollo de aplicaciones y software a medida y cómo escalamos infraestructuras en servicios cloud AWS y Azure.

Nuestro equipo también te acompaña en inteligencia artificial e IA para empresas con agentes IA, analítica avanzada y servicios de inteligencia de negocio, además de power bi, ciberseguridad y pentesting, y automatización de procesos. Si quieres dar el siguiente paso con inteligencia artificial, visita nuestra página de IA, o pregúntanos por integraciones seguras, observabilidad y buenas prácticas de plataforma.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.