This Documentation covers the legacy amazee.io System. If you are running on Lagoon please check the: Lagoon Documentation
amazee.io offers the three Solr versions, and provides a default configuration from the search_api_solr module) module for each.
|Solr Version||Drupal Solr Config/Schema|
Connect Solr Container to Drupal Container
If already running, shut down the site's drupal container. WARNING: this will delete your site's container. Usually this is perfectly save to do, as the database is saved in a volume which is not deleted. Creating a database backup is encouraged if the database is very important.
docker-compose.ymlwith adding the the solr container, see our example files for each Solr and PHP Version. (Do not miss to add links section under
Start both containers
docker-compose up -d
Solr will be available on
solr:8983ipv4 address within the drupal container. Our amazee.io environment variables will be filled automatically.
- Our Solr Docker images are preconfigured with following files default Drupal Solr Configs.
If you would like to customize your Solr configuration, you can develop and test them in the local development environment. After being satisfied with them, the amazee.io support team will add them to your amazee.io hosted sites.
- Create the folder
amazeeio/solr-confin your project's root folder (same level of your repo as the
- Fill the config according to your Solr version from our default configs
volumes:section of the
solr:container in the
docker-compose.ymlfile, add the entry which will connect your custom config to solr in the container (it should be already there, just uncomment it)
Restart your containers with
docker-compose restart solrand verify that the Solr container and config is loaded correctly
- Change your Solr config according to your needs and restart the container with
docker-compose restart solr