Docker to n8n Converter

Extract and convert Docker Compose environment variables to n8n configuration formats

Output:

Supported Formats

Docker Compose

environment:
  - N8N_HOST=localhost
  - N8N_PORT=5678
  - DB_TYPE=postgresdb

.env File

N8N_HOST=localhost
N8N_PORT=5678
DB_TYPE=postgresdb

Docker Compose to n8n Environment Variable Converter

Managing n8n environment variables across different deployments can be challenging. Whether you're migrating from Docker Compose to Kubernetes, setting up a new n8n instance, or documenting your configuration, this Docker to n8n converter extracts and organizes your environment variables automatically.

The Challenge of n8n Configuration

n8n has dozens of environment variables spread across different categories—database connections, execution settings, security options, and more. Extracting these from a Docker Compose file and reformatting them for different environments is tedious and error-prone.

  • Manual copy-paste leads to typos and missing variables
  • Docker Compose syntax differs from shell exports
  • Variable substitution syntax needs to be resolved
  • Difficult to identify n8n-specific vs general variables

What This Tool Does

  • Parses Docker Compose - Extracts environment variables from docker-compose.yml format
  • Supports .env Files - Also handles standard .env file format
  • Categorizes Variables - Groups vars by function (Database, Security, Execution, etc.)
  • Multiple Output Formats - Export as .env, JSON, or shell exports
  • Filters n8n Variables - Optionally show only recognized n8n configuration

n8n Environment Variable Categories

Core Settings

N8N_HOST, N8N_PORT, WEBHOOK_URL, GENERIC_TIMEZONE

Database

DB_TYPE, DB_POSTGRESDB_*, DB_MYSQLDB_*

Execution

EXECUTIONS_MODE, EXECUTIONS_TIMEOUT, EXECUTIONS_DATA_*

Security

N8N_ENCRYPTION_KEY, N8N_BASIC_AUTH_*, JWT secrets

Why Use This Converter?

  • 100% Free - No sign-up required, no limits
  • Privacy First - All parsing happens in your browser
  • Download Ready - Export directly to .env or JSON files
  • Smart Categorization - Understand your n8n config at a glance

Need Help Building n8n Workflows?

FlowEngine makes it easy to create powerful n8n automation workflows with AI assistance.

Try FlowEngine Free