Uses the current stable release of the Typesense Docker image.
With DDEV installed, run this command:
ddev get lussoluca/ddev-typesense
The Typesense container is reached at hostname: https://(DDEV_HOSTNAME)
, port: 8109.
The default API key for Typesense is ddev
. You can provide your own by adding to .ddev/.env
in your project, and adding the TYPESENSE_API_KEY
variable:
TYPESENSE_API_KEY=my_api_key_value
This DDEV addon also includes the admin dashboard by bfritscher:
https://github.com/bfritscher/typesense-dashboard
The admin dashboard is useful to navigate your collections and schema and debug your search.
You can access the admin dashboard by navigating to this URL in your browser:
https://(DDEV_HOSTNAME):8111
If you are using Drupal, you can use Search API and the Search API Typesense modules to connect to the running Typesense instance.
Originally Contributed by kevinquillen, then adapted to work with latest Typesense server over HTTPS.