Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove copy of config, due to entrypoint using mount instead of data dir #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions docker-compose.solr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@ services:

- ".:/mnt/ddev_config"

# solr-configupdate.sh copies fresh configuration files into the
# solr container on each
# startup, so if you change the config in .ddev/solr/conf
# it will be refreshed on `ddev start`. It must be executable,
# `chmod +x solr
- "./solr/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d"

# The odd need to use $$SOLR_CORENAME here is explained in
# https://stackoverflow.com/a/48189916/215713
entrypoint: 'bash -c "VERBOSE=yes docker-entrypoint.sh solr-precreate $${SOLR_CORENAME:-dev} /solr-conf"'
Expand Down
4 changes: 0 additions & 4 deletions install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ pre_install_actions:
# files and directories listed here are copied into .ddev
project_files:
- solr/conf
- solr/docker-entrypoint-initdb.d/solr-configupdate.sh
- docker-compose.solr.yaml

post_install_actions:
- |
#ddev-description:Make sure solr-configupdate.sh is executable
chmod +x solr/docker-entrypoint-initdb.d/solr-configupdate.sh
11 changes: 0 additions & 11 deletions solr/docker-entrypoint-initdb.d/solr-configupdate.sh

This file was deleted.