deploy script fix

This commit is contained in:
Alexandros Mandilaras 2024-05-14 09:49:56 +03:00
parent 7d273458ab
commit d94dfb4cb0
1 changed files with 2 additions and 3 deletions

View File

@ -62,9 +62,8 @@ function loading_icon() {
loading_icon 45 "Waiting for Elasticsearch to Startup!" loading_icon 45 "Waiting for Elasticsearch to Startup!"
if [[ $1 == "-r" ]]; then docker exec opencdmp.elasticsearch /usr/share/elasticsearch/config/index_init.sh
docker exec opencdmp.elasticsearch /usr/share/elasticsearch/config/index_init.sh
fi
docker restart opencdmp.elasticsearch docker restart opencdmp.elasticsearch
docker-compose up -d opencdmp.postgres docker-compose up -d opencdmp.postgres