Skip to main content

Introducing the DDEV Gally Addon

· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

We've been leveraging Gally, a next generation Searchandising Engine, in several of our e-commerce projects. However, integrating the required services into our DDEV setups has become a repetitive task, involving manual copying and pasting.

How can we streamline this process and make it more efficient?

To simplify the integration process, we've developed the DDEV Gally Addon. With this addon, setting up Gally in your DDEV environment is now a straightforward process that can be completed with just two commands:

ddev add-on get bitExpert/ddev-gally
ddev restart

By default, this will install the Gally Open-Source edition in your DDEV project. To use the Gally Premium edition instead, you'll need to configure the following environment variables in the .ddev/.env.gally file before restarting your DDEV environment with ddev restart:

GALLY_PREMIUM_NAME=
GALLY_PREMIUM_TOKEN=

Please note that the first time you run the addon, it will build a Gally Docker image, which may take a few minutes to complete. Be patient and let the process finish.

Once the image is built and you've restarted your DDEV environment, you can access the Gally service at a dedicated URL. The URL will be in the format https://${DDEV_SITENAME}-gally.ddev.site. For instance, if your project is named demo, you would access Gally at https://demo-gally.ddev.site.

The addon also includes a convenient ddev gally-cli command, allowing you to easily interact with the Gally server. This command enables you to perform various tasks, such as adding or updating users.