This repository contains a Docker Compose configuration for running n8n workflow automation tool with PostgreSQL database and Redis queue.
- n8n: Main workflow automation engine
- PostgreSQL: Database for storing workflow data
- Redis: Queue system for workflow execution
- n8n Worker: Additional worker instance for processing queued workflows
- Go to Coolify dashboard
- Click "Add Service"
- Choose "Public Repository" as the source
- Enter this repository URL
- Configure the following environment variables as needed:
SERVICE_USER_POSTGRES: PostgreSQL usernameSERVICE_PASSWORD_POSTGRES: PostgreSQL passwordPOSTGRES_DB: Database name (defaults to n8n)REDIS_USERNAME: Redis username (optional)SERVICE_PASSWORD_REDIS: Redis passwordSERVICE_FQDN_N8N: Your n8n instance domainSERVICE_URL_N8N: URL for n8n hostSERVICE_BASE64_ENCRYPTIONKEY: Base64 encryption key for n8n
- Deploy the stack
The services will be deployed with:
- n8n web interface accessible on port 5678
- PostgreSQL database for persistent storage
- Redis for queue management
- Separate n8n worker for processing queued workflows