github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/pkg/ddevapp/dotddev_assets/commands/solr/README.txt (about) 1 #ddev-generated 2 Scripts in this directory will be executed inside the solr 3 container (if it exists, of course). This is just an example, 4 but any named service can have a directory with commands. 5 6 Note that /mnt/ddev_config must be mounted into the 3rd-party service 7 with a stanza like this in the docker-compose.solr.yaml: 8 9 volumes: 10 - type: "bind" 11 source: "." 12 target: "/mnt/ddev_config" 13 14 15 See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/#environment-variables-provided for a list of environment variables that can be used in the scripts.