A minimal Solr container for Drupal sites.
100K+

Flight Deck Solr is a minimalist Solr container for Drupal sites on Kubernetes and Docker. You can use it both for local development and production.
Features:
There are several tags available for this container, each with different Solr and module support:
| Solr version | Tags | Search API | Apachesolr | Custom cores |
|---|---|---|---|---|
| 8.6.0 | 8.6, 8 | yes | no | yes |
| 6.6.6 | 6.6, 6, latest | yes | no | yes |
| 5.5.5 | 5.5, 5 | 7.x-1.x | 7.x-1.x | yes |
This container does not use environment variables for configuration. Instead, the flight-deck-solr.yml file is used to handle all configuration.
---
flightdeck_solr:
port: 8983
cores: []
Where:
8983.This container supports multiple cores by defining an item under the flightdeck_solr.cores item:
---
flightdeck_solr:
port: 8983
cores:
- name: "my_custom_core"
type: "custom"
confDir: "/solr-conf"
dataDir: "/solr-data"
Each item has the following variables:
custom or empty.custom cores./data/<name_of_the_core>.Flight Deck Solr supports Search API as fully custom cores. This is due to changes in how Search API Solr works, which requires you to generate a config.zip under Admin > Config > Search and metadata > Search API.
empty core using this container.confDir.custom core type.Use the ten7.flightdeck_cluster role on Ansible Galaxy to deploy Solr as a statefulset:
flightdeck_cluster:
namespace: "search"
configMaps:
- name: "solr_config"
files:
- name: "flight-deck-solr.yml"
content: |
flightdeck_solr:
cores:
- name: "my_custom_core"
confDir: "/config/my_custom_core"
solr:
configMaps:
- name: "solr_config"
path: "/config/my_custom_core"
Create the flight-deck-solr.yml file relative to your docker-compose.yml. Define the solr service mounting the file as a volume:
version: '3'
services:
solr:
image: ten7/flight-deck-solr
volumes:
- ./flight-deck-solr.yml:/config/solr/flight-deck-solr.yml
ports:
- "8003:8983"
This container is part of the Flight Deck library of containers for Drupal local development and production workloads on Docker, Swarm, and Kubernetes.
Flight Deck is used and supported by TEN7.
If you need to get verbose output from the entrypoint, set flightdeck_debug to true or yes in the config file.
---
flightdeck_debug: yes
This container uses Ansible to perform start-up tasks. To get even more verbose output from the start up scripts, set the ANSIBLE_VERBOSITY environment variable to 4.
If the container will not start due to a failure of the entrypoint, set the FLIGHTDECK_SKIP_ENTRYPOINT environment variable to true or 1, then restart the container.
Flight Deck is licensed under GPLv3. See LICENSE for the complete language.
Content type
Image
Digest
Size
218.5 MB
Last updated
over 7 years ago
docker pull ten7/flight-deck-solr