Video coming soon…
🗄️ Setup Typesense — Typo-Tolerant Search Engine
Deploy Typesense 29.0 on Ubuntu with Docker — an open-source search engine that returns typo-tolerant results in milliseconds, with a generated API key and data persisted to ./data.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/databases/typesense/typesense-ubuntu.sh
chmod +x typesense-ubuntu.sh
sudo bash typesense-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/databases/typesense/typesense-ubuntu.sh
2 Make it Executable
chmod +x typesense-ubuntu.sh
3 Run the Installer
The script installs Docker if needed, generates a 32-character API key from /dev/urandom, starts typesense/typesense:29.0 on port 8108, then polls /health until the node responds.
sudo bash typesense-ubuntu.sh
4 Verify the Node is Healthy
The installer prints your generated API key — save it now. Confirm the node is up:
curl http://<your-server-ip>:8108/health
Ports Used
| Port | Purpose |
|---|---|
| 8108 | REST API — search, indexing, and admin (no web UI) |
| ./data | On-disk index and collection schemas |