← Catalog

Source JavaScript files (.js) run via Node.js without a build step; generated files: docker-compose.yml, nginx.conf, .env, .github/workflows/ci.yml or .gitlab-ci.yml

Docker Deploy Kit: Generate docker-compose, nginx & CI in 2 Minutes

Version 1.0.0 Updated: 2026-10-02 Quality: 82/100

Node.js CLI utility with an interactive prompt that generates ready-to-use docker-compose.yml, nginx.conf, .env, and a CI pipeline tailored to your stack (Node, Python, PHP).

📁 What is inside (ZIP, 7 files)
  • 01_cli.js
  • 02_prompts.js
  • 03_generators.js
  • 04_templates.js
  • 05_writer.js
  • 06_validator.js
  • README.md

Problem

Setting up docker-compose, nginx, and CI for a new project is hours of routine work: you have to coordinate ports, environment variables, volumes, service dependencies, and proxy config. Mistakes in these files only surface at runtime and cost you hours of debugging.

Solution

A CLI utility runs an interactive survey about your stack and infrastructure, validates the input, and generates a consistent set of files (docker-compose.yml, nginx.conf, .env, CI pipeline) from proven templates. All values are populated automatically, so ports, service names, and environment variables match across every file.

More details

Docker Deploy Kit is a Node.js command-line utility that turns manual infrastructure setup into a single interactive dialogue. You run one command, answer a few questions about your stack, ports, database, cache, and CI — and get a complete set of working files in the specified directory. No more copying from documentation, no forgotten environment variables, no mismatched ports. The utility is built from six modules, each responsible for its own area: an interactive survey with input validation, a generation core with separate functions for each file type, a template store for popular stacks, a file-writing module with reporting, and a configuration validator that prevents generating a knowingly broken set. Everything is tied together in a single CLI entry point with support for --stack, --output, and --yes flags for non-interactive mode. Three stacks are supported: Node.js, Python, and PHP. For each, ready-made templates are provided for Docker Compose services, Nginx configs, and CI pipelines. Choose your database — PostgreSQL, MySQL, or MongoDB — with optional Redis for caching and optional Nginx as a reverse proxy. CI is generated for GitHub Actions or GitLab CI depending on your answer. The output includes a docker-compose.yml with properly linked services and volumes, an nginx.conf with proxying to the right port, a .env with database and cache connection variables, and a ready-to-use pipeline file in .github/workflows/ci.yml or .gitlab-ci.yml. All files are immediately ready to run — all that's left is to

What you get

  • 01_cli.js — CLI entry point: argument parsing, running the survey, invoking generators, and writing files
  • 02_prompts.js — interactive survey module covering stack, ports, database, cache, Nginx, and CI
  • 03_generators.js — generation core: functions generateDockerCompose, generateNginxConf, generateEnv, generateCI
  • 04_templates.js — template repository for Node, Python, and PHP stacks
  • 05_writer.js — file writing module with directory creation and reporting
  • 06_validator.js — configuration validation before generation

Installation guide

1. Install Node.js 16 or newer. 2. Place the files 01_cli.js–06_validator.js in a single directory. 3. Run: node 01_cli.js --output ./my-project. 4. Answer the questions about your stack, ports, database, cache, Nginx, and CI. 5. Check the generated files in the specified directory. For non-interactive mode, use the flags: node 01_cli.js --stack node --output ./my-project --yes.

Requirements

Node.js 16+ (uses built-in readline, fs, and path modules). No additional npm dependencies required. To run the generated docker-compose, you need Docker and Docker Compose installed.

Options and pricing

Choose the level that suits you:

  • Basic — $17 · Основной набор файлов продукта.
  • Standard — $29 · Полный набор + инструкция по внедрению.
  • Extended — $46 · Всё из Стандарта + расширенные материалы и обновления.

Frequently asked questions

What is included?

Node.js CLI utility with an interactive prompt that generates ready-to-use docker-compose.yml, nginx.conf, .env, and a CI pipeline tailored to your stack (Node, Python, PHP).

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].

See also