Commit b0fe2bad authored by Thomas Löffler's avatar Thomas Löffler

Start solr on failure instead of always

parent 6ef2c48a
Pipeline #5579 passed with stages
in 7 minutes and 58 seconds
...@@ -12,7 +12,7 @@ services: ...@@ -12,7 +12,7 @@ services:
solr: # This is the service name used when running ddev commands accepting the --service flag solr: # This is the service name used when running ddev commands accepting the --service flag
container_name: ddev-${DDEV_SITENAME}-solr # This is the name of the container. It is recommended to follow the same name convention used in the main docker-compose.yml file. container_name: ddev-${DDEV_SITENAME}-solr # This is the name of the container. It is recommended to follow the same name convention used in the main docker-compose.yml file.
image: solr:6.6.2 image: solr:6.6.2
restart: always restart: on-failure
ports: ports:
- 8983 # Solr is served from this port inside the container - 8983 # Solr is served from this port inside the container
labels: labels:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment