Как установить n8n на свой сервер за 10 минут | Простая установка через Dokploy
2 min read
7 months ago
Published on Aug 20, 2025
This response is partially generated with the help of AI. It may contain inaccuracies.
Table of Contents
Introduction
This tutorial will guide you through the process of installing n8n on your server in just 10 minutes using Dokploy. You will learn how to rent a server, install required software, and set up n8n efficiently.
Step 1: Rent a Server
- Choose a server provider. A recommended option is VDSKA.ru.
- Visit the provider's website and select a suitable plan based on your requirements.
- Complete the registration and payment process to acquire your server.
Step 2: Access Your Server via SSH
- Open your terminal application.
- Connect to your server by entering the following command:
ssh root@IP_СЕРВЕРА- Replace
IP_СЕРВЕРАwith your server's actual IP address. - Enter the password when prompted (note that it won't display while typing).
- Replace
Step 3: Update Your System
- Once logged in, update the package list and upgrade your system with the following command:
apt update && apt upgrade -y - This command ensures your server has the latest packages and security updates.
Step 4: Reboot Your Server
- To apply updates, reboot your server using:
reboot - Wait for about a minute before reconnecting via SSH.
Step 5: Install Dokploy
- After logging back into your server, run the following command to install Dokploy:
curl -sSL https://dokploy.com/install.sh | sh - Tip: You can paste commands in the terminal by right-clicking your mouse.
Step 6: Configure Domain and HTTPS
- Set up your domain and configure HTTPS for the admin panel and projects.
- Follow the Dokploy documentation for specific instructions on domain setup.
Step 7: Create Docker Compose File for n8n
- Create a Docker Compose file to manage your n8n instance and its PostgreSQL database. Use the following configuration:
services: n8n: image: docker.n8n.io/n8nio/n8n:latest restart: always environment: - N8N_HOST=${N8N_HOST} - N8N_PORT=${N8N_PORT} - N8N_PROTOCOL=https - NODE_ENV=production - WEBHOOK_URL=https://${N8N_HOST}/ - GENERIC_TIMEZONE=${GENERIC_TIMEZONE} - N8N_SECURE_COOKIE=true - N8N_RUNNERS_ENABLED=true - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false volumes: - n8n_data:/home/node/.n8n - ./local-files:/files networks: - dokploy-network ports: - "${N8N_PORT}:${N8N_PORT}" volumes: n8n_data: networks: dokploy-network: external: true - Save this configuration in your project directory.
Conclusion
You have now successfully set up n8n on your server using Dokploy. Ensure you monitor your setup and adjust configurations as necessary. For further enhancements, consider exploring additional features of n8n or integrating it with other tools. Happy automation!