Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Install n8n on Jelastic Cloud via Docker image
This guide explains how to deploy n8n using its official Docker image on the Jelastic Cloud (Infomaniak PaaS).
Preamble
- Unlike tools like Zapier or Make, n8n, a “fair-code” workflow automation tool, can be self-hosted, allowing you to keep full control over your data while connecting hundreds of services via an intuitive visual interface.
- The official image used is
n8nio/n8n. - Using an external database (PostgreSQL) is highly recommended for stability and managing large volumes of data.
- The default internal port is
5678. - For additional help contact a partner or launch a free tender — also discover the role of the host.
1. Creating the Jelastic environment
Follow these steps to configure your topology:
- Log in to the Jelastic Cloud dashboard.
- Click on New environment.
- In the creation assistant:
- Go to the Docker tab.
- Click on Select an image and search for
n8nio/n8n. Set a version (e.g.,latestor a specific version like1.75.0). - Load Balancer: add a node (e.g., Nginx) to handle SSL and public access.
- Database: add a PostgreSQL node (version 14+ recommended).
- Allocate enough Cloudlets (8 min. recommended for peak n8n usage) and name your environment.
- Click on Create.
Note: Adding a Load Balancer makes it easy to enable the Let's Encrypt module to secure your exchanges and webhooks in HTTPS.
2. Configuring storage and persistence
By default, Docker data is ephemeral. It is imperative to mount a volume:
- On the n8n node, click on the Configuration icon (the gear).
- Go to the Volumes section.
- Click on Add:
- Local path:
/home/node/.n8n
- Local path:
- Save; configuration files and local encryption will now be preserved.
3. Essential environment variables
Access the Environment Variables section of the n8n container to set the following parameters:
| Variable | Suggested value / Description |
|---|---|
N8N_HOST | The domain name of your environment (e.g., n8n.name.jpc.infomaniak.com). |
WEBHOOK_URL | The full HTTPS URL (e.g., https://n8n.mydomain.com/). Essential for HTTP triggers. |
GENERIC_TIMEZONE | Europe/Bern (or your local timezone). |
N8N_ENCRYPTION_KEY | Generate a long random string. Note it down carefully! |
Linking with PostgreSQL
To use the external database, also add:
DB_TYPE:postgresdbDB_POSTGRESDB_HOST: Internal IP address or DNS of the Postgres node.DB_POSTGRESDB_PORT:5432DB_POSTGRESDB_DATABASE: Database name (e.g.,n8n).DB_POSTGRESDB_USER: Your user.DB_POSTGRESDB_PASSWORD: Your password.
4. First access and security
- Once the container is restarted, open the URL of your environment.
- Account creation: n8n will ask you to create the first administrator account.
- SSL: if you are using a custom domain, install the Let's Encrypt add-on on the Load Balancer node.
Since version 1.0, the old variables N8N_BASIC_AUTH are obsolete. User management is now done directly in the n8n graphical interface.
5. Post-installation verification
- Create a test workflow with a Webhook node and verify that the generated URL is in
https. - Check the container logs to ensure no database connection errors appear.
Link to this FAQ: