mirror of
https://github.com/n8n-io/self-hosted-ai-starter-kit.git
synced 2025-11-29 08:33:15 +00:00
1.1 KiB
1.1 KiB
n8n Demo setup
This repo helps quickly bootstrap an n8n demo environment using docker-compose.
Requirements
- Docker compose
- Optionally an Nvidia GPU for faster inference on Ollama
Setup
- Clone this repo
- Optionally edit the credentials in the
.envfile - Start the containers:
- If you have an Nvidia GPU, run
docker compose --profile gpu-nvidia up - Otherwise to run inference services on your CPU, run
docker compose --profile cpu up
- If you have an Nvidia GPU, run
- Wait a couple of minutes for all the containers to become healthy
- Open http://localhost:5678 in your browser and fill in the details
- Open the included workflow: http://localhost:5678/workflow/srOnR8PAY3u4RSwb
- Wait until Ollama has downloaded the
llama3.1model (you can check the docker console)
Included service endpoints
Updating
- Run
docker compose pullto fetch all the latest images - Run
docker compose create && docker compose up -dto update and restart all the containers