Free AI for n8n: How To Install Ollama on VPS & Create Docker Network (Part 1) @MikeMurphy-AI
Free AI for n8n: How To Install Ollama on VPS & Create Docker Network (Part 1)  @MikeMurphy-AI
Uploaded October 2025 | Updated September 2026, 1 week ago
Description
Learn how to install Ollama in a Docker container on your Hostinger VPS with persistent storage. Perfect for using local AI models in n8n workflows without API costs. Complete beginner-friendly guide for non-developers.

Get 20% off Hostinger VPS (referral link):
https://hostinger.com?REFERRALCODE=BYS0JAIWCIJP


What You Will Learn (How):
๐Ÿ‘‰ Install Ollama in Docker with persistent model storage
๐Ÿ‘‰ Create a private Docker network (so it can talk to other containers later)
๐Ÿ‘‰ Downloading and manage Ollama AI Models
๐Ÿ‘‰ Verify setup is not exposed to public internet
๐Ÿ‘‰ Why Install Ollama on VPS?

Wispr Flow is my tool of choice for fast, polished voice-to-text in any app.
ref.wisprflow.ai/mike-murphy (affiliate link)

Hostinger VPS:
mikemurphy.co/vps (affiliate link)

Cheatsheet (Snippets) on GitHub:
https://dub.sh/ollama_1 (Part 1)
https://dub.sh/ollama_2 (Part 2)

Ollama + N8N Mini-Series:
(Part 1: Ollama + Docker Network): youtu.be/9-u3BGl0ubU
(Part 2: Ollama + N8N Workflows): youtu.be/5qFNxvj59hw

Prerequisites:
Hostinger VPS with Ubuntu OS
Docker & Docker Compose installed
5GB Free Hard Disk Space

Ollama:
olama.com

Tutorials:
n8n + Docker Containers + Hostinger VPS:
youtu.be/9-u3BGl0ubU

How To Update n8n:
youtu.be/tsSo9tC8J3g

Ollama Desktop App:
youtu.be/vkhuduZWOIw

Ollama Models:
llama 3.2:latest (ollama.com/library/llama3.2:latest)
qwen 2.5:0.5b (ollama.com/library/qwen2.5:0.5b)
gemma2:2b (ollama.com/library/gemma2:2b)


Chapters:
00:00 About The Tutorial
00:28 In Part 1 of Tutorial
01:15 In Part 2 of Tutorial
01:50 VPS Account + LLM Performance
02:54 Prerequisites For Tutorial
03:24 What Is Ollama?
04:04 Confirm Unbuntu OS
04:24 VPS + Network Overview
05:18 n8n Update Tutorial
05:51 VPS Browser Terminal
06:04 Step 1: Docker & Docker Compose
06:38 Ask Kodee (ChatBot)
07:06 Step 2: Create Project Folder
08:28 Step 3: Create Shared Docker Network
09:10 Verify Network Settings
09:33 Shared Docker Network Overview
09:53 Step 4: Create Docker-Compose YAML
10:17 pwd = print working directory
10:49 docker-compose.yml Overview
11:57 Create Docker-Compose File
12:25 Nano Text Editor
13:34 Write Out Sequence (Nano)
15:08 Verify File Was Created
15:37 Step 5: Start Docker Container
16:28 Step 6: Ollama Models
17:02 Pull (Download) Ollama Models
18:03 Pull llama3.2:latest
19:20 Fun Llama Facts!
20:03 /bye
20:37 qwen model (KVM1 Plans)
20:58 Name of Models
22:41 Remove (Delete) Models
23:58 Step 7: Security Check
24:38 Step 8: Inspect Setup
25:57 Docker Manager
26:59 Recap & Preview

Step-by-Step (Olama Setup on VPS):
๐Ÿ‘‰ Sign in to the Hostinger dashboard and open the Terminal.
๐Ÿ‘‰ Confirm Docker and Docker Compose are installed
๐Ÿ‘‰ Create a dedicated project folder for Ollama (mkdir)
๐Ÿ‘‰ Navigate into Ollama Directory (cd)
๐Ÿ‘‰ Create the shared Docker network called 'App-Net'
๐Ÿ‘‰ Create the docker-compose.yml file using Nano editor
๐Ÿ‘‰ Paste the configuration content (defining the container, network settings, volume storage)
๐Ÿ‘‰ Save (Write Out) of Nano (Control+O). Press Return. Exit (Control + X)
๐Ÿ‘‰ Launch the Ollama Docker container in the background
๐Ÿ‘‰ Confirm Ollama is running using docker.ps
๐Ÿ‘‰ Pull in Llama 3.2 Models
๐Ÿ‘‰ Run a security port check to ensure ports are not exposed externally


โ€”โ€”โ€”โ€”โ€”โ€”Resourcesโ€”โ€”โ€”โ€”โ€”โ€”โ€”
โžœGear I Use: mikemurphy.co/resources
โžœAdobe After Effects: mikemurphy.co/adobe
โžœTerrapin Textures: terrapintextures.com
โžœ Adobe Audition Course (Domestika): mikemurphy.co/domestika

โžœAmazon Influencer Store: amazon.com/shop/mikemurphyco
โžœSee All My Gear: mikemurphy.co/podgear
โžœ Get Adobe Creative Cloud: mikemurphy.co/adobe
โžœ Screenflow: mikemurphy.co/screenflow

โžœ Website: mikemurphy.co
โžœ Podcast: mikemurphy.co/mmu
โžœ Instagram: instagram.com/mikeunplugged
โžœ X: http://x.com/mikeunplugged
โžœ YouTube: mikemurphy.co/youtube

Amazon Associates Disclosure:
Mike Murphy is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Free AI for n8n: How To Install Ollama on VPS & Create Docker Network (Part 1)How To Create a Slack App for n8n WorkflowsHow To Prune n8n & Docker Images on Hostinger VPSLearn Python Using CursorHow to Create a CLAUDE.md File in Claude CodeHow To Make Viral Baby Podcast Videos using AITurn Your Resume or LinkedIn Profile Into A Website (Free!)U1L4  Workspace & Panels in Adobe After EffectsAnimated Drawings: Turn Your Sketches Into AnimationsU4L1 How To Add & Manage Effects in After EffectsU3L5 How To Use Text Animators in After EffectsU1L1 Introduction To After Effects User Guide
Mike Murphy | AI Handyman |

Free AI for n8n: How To Install Ollama on VPS & Create Docker Network (Part 1)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER