n8n-nodes-coolify
This is an n8n community node. It lets you use Coolify in your n8n workflows.
Coolify is a self-hostable Heroku/Netlify alternative.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
npm install n8n-nodes-coolify
Operations
Application
- Create (Docker Compose)
- Create (Docker Image)
- Create (Dockerfile)
- Create (Private - Deploy Key)
- Create (Private - GitHub App)
- Create (Public)
- Create (Template)
- Delete
- Get
- Get Many
- Start
- Update
Database
- Create
- Delete
- Get
- Get Many
- Update
Deployment
Environment Variable
- Create
- Delete
- Get Many
- Update
Private Key
Project
- Create
- Delete
- Get
- Get Many
- Update
Resource
Server
- Create
- Delete
- Get
- Get Many
- Update
Credentials
To use this node, you need to:
- Have a Coolify instance running
- Generate an API token from Keys & Tokens > API Tokens in your Coolify dashboard
- Add the token to n8n credentials
Usage
Creating a WordPress with MariaDB Instance
To create a WordPress installation with MariaDB using Coolify templates:
-
Add a Coolify node to your workflow
-
Select 'Application' as the resource
-
Choose 'Create (Template)' as the operation
-
Fill in the required fields:
- Server Name or ID: Select your server from the dropdown
- Project Name or ID: Select your project from the dropdown
- Name: Enter a name for your WordPress instance
- Template Name or ID: Select 'WordPress with MariaDB' from the dropdown
-
Configure WordPress settings under 'Template Configuration':
- WordPress Admin Email: Your admin email address
- WordPress Admin Password: A secure password for the admin account
- WordPress Admin Username: Admin username (default: admin)
- WordPress Database Name: Name for the WordPress database (default: wordpress)
- WordPress Database Password: A secure password for the database
- WordPress Database User: Database username (default: wordpress)
- WordPress Table Prefix: Prefix for database tables (default: wp_)
After execution, Coolify will:
- Create a MariaDB container for the database
- Set up a WordPress container
- Configure the connection between WordPress and MariaDB
- Initialize WordPress with your specified settings
You can then access your WordPress installation through the URL provided in the Coolify dashboard.
Environment Variables
For WordPress installations, these environment variables are automatically configured:
- WORDPRESS_DB_HOST
- WORDPRESS_DB_USER
- WORDPRESS_DB_PASSWORD
- WORDPRESS_DB_NAME
- WORDPRESS_TABLE_PREFIX
- WORDPRESS_ADMIN_USER
- WORDPRESS_ADMIN_PASSWORD
- WORDPRESS_ADMIN_EMAIL
You can modify these through the Environment Variables resource after creation.
Resources