n8n
Last updated
Was this helpful?
Last updated
Was this helpful?
Running n8n workflow automation tool in docker-compose
with
Refer for full setup instructions and compose.yml
file
Optically install n8n cli
To start n8n with PostgreSQL simply start docker-compose
by executing the following command in the current folder.
[!IMPORTANT] But before you do, copy as
.env
in the project root directory, then change the default postgresusername
andpassword
in the file, if you prefer.
Access n8n dashboard at:
Access qdrant dashboard at:
[!NOTE] First time when you access, you will see:
Set up owner account
page. Enter some fake data, then you will be redirected to Dashboard
[!IMPORTANT] If you are using OpenAi models, also verify
OpenAi account
credentials are set properly.
Quick start and usage
Select Test workflow to start running the workflow.
If this is the first time you’re running the workflow, you may need to wait until Ollama
finishes downloading Llama3.2
.
default location of n8n CLI config file: ~/.n8n/config
The default name of the database, user and password for PostgreSQL can be changed in the file in the current directory.
If you're running on your Mac (not in Docker), make sure OLLAMA_HOST
environment variable set to host.docker.internal:11434
in the n8n service configuration in .
Additionally, verify ollama base URL is set to :
Head to Click on "Local Ollama service" Change the base URL to
[!NOTE] If you are using , use and use lms url: URL instead of ollama url:
Open in your browser to set up n8n. You’ll only have to do this once.
Open the included workflow:
use to manage n8n server metadata
,
Local AI with Docker, n8n, Qdrant, and Ollama -
,