소스 검색

explicitly specifying Solr version in Docker Compose

solr_update
Simon Bowie 2 년 전
부모
커밋
4a9bc2ce1e
3개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +1
    -1
      docker-compose.prod.yml
  2. +1
    -1
      docker-compose.yml
  3. +2
    -2
      solr_import.sh

+ 1
- 1
docker-compose.prod.yml 파일 보기

@@ -26,7 +26,7 @@ services:

solr:
container_name: solr
image: solr:latest
image: solr:8.11.1
ports:
- '8983:8983'
volumes:

+ 1
- 1
docker-compose.yml 파일 보기

@@ -14,7 +14,7 @@ services:

solr:
container_name: solr
image: solr:latest
image: solr:8.11.1
ports:
- '8983:8983'
volumes:

+ 2
- 2
solr_import.sh 파일 보기

@@ -55,12 +55,12 @@ Import()

sleep 30

docker run --rm -v "$directory/$location:/$core" --network=host solr:latest post -c $core /$core
docker run --rm -v "$directory/$location:/$core" --network=host solr:8.11.1 post -c $core /$core
}

Import_recursive()
{
docker run --rm -v "$directory/$subdirectory:/$core" --network=host solr:latest post -c $core /$core
docker run --rm -v "$directory/$subdirectory:/$core" --network=host solr:8.11.1 post -c $core /$core
}
############################################################
############################################################

Loading…
취소
저장