ComposeForge CLI — Docker Compose, Nginx & .env Generator from YAML
A Node.js CLI utility that turns a single YAML file describing your services into a working docker-compose.yml, nginx.conf, .env, healthcheck, and Makefile—so you can deploy your project with a single command.
01_cli.js02_config_schema.js03_generate_compose.js04_generate_nginx.js05_generate_env.js06_generate_makefile.js07_utils.jsREADME.md
Problem
Setting up infrastructure for a new project or microservice turns into a routine: developers copy docker-compose.yml from old repositories, manually edit nginx.conf, come up with passwords for .env, forget about healthcheck and Makefile. This leads to config desync, deployment errors, and lost time for the entire team.
Solution
A CLI utility takes a single YAML service description and generates a consistent set of files: docker-compose.yml with dependencies, networks, volumes, and healthcheck; nginx.conf with upstream and proxying; .env with random secrets; and a Makefile for managing the stack. Schema validation catches errors before generation and points to the problematic field, while --dry-run and --verbose modes make the process transparent.
More details
What you get
- 01_cli.js — CLI entry point: argument parsing, YAML loading, validation, generation orchestration, error handling
- 02_config_schema.js — validation and normalization of input YAML with error field path reporting
- 03_generate_compose.js — docker-compose.yml generation: services, dependencies, volumes, networks, healthcheck, database connection
- 04_generate_nginx.js — nginx.conf generation: upstream, proxying, static files, SSL stubs, gzip, logging, multiple domains and ports
- 05_generate_env.js — .env generation: database variables, ports, service URLs, random secret keys, variables from YAML
- 06_generate_makefile.js — Makefile generation: up, down, build, logs, restart, ps, exec, clean
- 07_utils.js — utility functions: file operations, random string generation, formatting, leveled logging
Installation guide
Requirements
Options and pricing
Choose the level that suits you:
- Basic — $17 · Основной набор файлов продукта.
- Standard — $29 · Полный набор + инструкция по внедрению.
- Extended — $46 · Всё из Стандарта + расширенные материалы и обновления.
Frequently asked questions
What is included?
A Node.js CLI utility that turns a single YAML file describing your services into a working docker-compose.yml, nginx.conf, .env, healthcheck, and Makefile—so you can deploy your project with a single command.
In what format will I receive the files?
After payment you get a secure link and a ZIP archive with all materials. The link is shown on the order page and available via the Telegram bot.
How long is the download link valid?
The link is active for 24 hours, up to 5 downloads.
Do I need special skills?
The product is designed for entrepreneurs and specialists. A step-by-step guide is included; no programming skills required.
Can I get a refund?
For refunds, contact support: [email protected].