JP Site Search - Quick Docker Example
Article Index
- JP Site Search
- What is JP Site Search?
- What is Typesense?
- Typesense Hosting Options
- Recommended Typesense Server Setup
- Quick Docker Example
- Installation
- Initial Setup
- Sources and Providers
- Joomla Articles
- Joomla Contacts
- Joomla Categories
- DOCman Provider Add-on
- Indexing
- CLI and Cron
- Frontend Module
- Autocomplete Layouts
- Full Search Page
- Analytics and Search Quality
- Diagnostics
- Security Model
- Troubleshooting
- Recommended First Setup
- All Pages
Page 6 of 23
Quick Docker Example
The following is a simple example for local testing or a small self-hosted setup. Adjust the API key, data path, port exposure, backups, and server security before using this in production.
services:
typesense:
image: typesense/typesense:latest
restart: unless-stopped
ports:
- "8108:8108"
volumes:
- ./typesense-data:/data
command:
- "--data-dir=/data"
- "--api-key=change-this-api-key"
- "--enable-cors"
After starting Typesense, configure JP Site Search with:
- Host: your Typesense hostname or IP address
- Port: 8108, unless changed
- Protocol: http or https depending on setup
- API key: your server-side Typesense API key
For production use, do not expose the Typesense API publicly unless you understand the security implications. JP Site Search is designed so that frontend visitors search through Joomla, not directly through Typesense.