Skip to content

Commit d00c4ac

Browse files
committed
Make sure the solr volume has an explicit name
This only matters for docker-compose v1, but without the name the volume won't be deleted when the project is deleted.
1 parent 5027586 commit d00c4ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker-compose.solr.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,5 @@ services:
8181

8282
volumes:
8383
# solr is a persistent Docker volume for solr data
84-
# The persistent volume should have the same name as the service so it can be deleted
85-
# when the project is deleted.
8684
solr:
85+
name: "ddev-${DDEV_SITENAME}_solr"

0 commit comments

Comments
 (0)