Skip to content

Commit

Permalink
Remove solr from docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Jan 9, 2025
1 parent 3648c40 commit 28867af
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Build/Test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,6 @@ services:
php -S web:8001 -t ${DFGVIEWER_ROOT}
fi
"
solr:
image: docker.io/solr:9
volumes:
- ${DFGVIEWER_ROOT}/Configuration/ApacheSolr/configsets:/var/solr/data/configsets
- ./solr/modules/ocrsearch:/opt/solr/modules/ocrsearch
ports:
- 8983:8983
user: root # run as root to change the permissions of the solr folder
# Change permissions of the solr folder, create a default core and start solr as solr user
command: /bin/sh -c "
chown -R 8983:8983 /var/solr
&& runuser -u solr -- solr-precreate default-core
"
composer_install:
image: docker.io/typo3/core-testing-${DOCKER_PHP_IMAGE}:latest
user: "${HOST_UID}:${HOST_GID}"
Expand All @@ -82,7 +69,6 @@ services:
links:
- ${DBMS}
- web
- solr
user: "${HOST_UID}:${HOST_GID}"
volumes:
- ${EXTENSIONS_ROOT}:/var/www/extensions/
Expand All @@ -106,11 +92,6 @@ services:
sleep 1;
done;
echo Database is up;
echo Waiting for Solr start...;
while ! nc -z solr 8983; do
sleep 1;
done;
echo Solr is up;
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
set -x
fi
Expand Down

0 comments on commit 28867af

Please sign in to comment.