pass
This commit is contained in:
parent
ed34afb804
commit
0a6680dc7b
|
|
@ -4,8 +4,12 @@ echo "readonly" | docker login docker.med-logic.ru --username readonly --passwor
|
||||||
|
|
||||||
docker pull docker.med-logic.ru/medicine-remd:latest
|
docker pull docker.med-logic.ru/medicine-remd:latest
|
||||||
|
|
||||||
cd /root/medicine-config/medicine-stack
|
read -r -p "Create database? [y/N] " prompt
|
||||||
docker-compose exec postgres psql -c 'CREATE DATABASE IF NOT EXISTS medicine_remd' --username=postgres
|
if [[ $prompt =~ [yY](es)* ]]
|
||||||
|
then
|
||||||
|
cd /root/medicine-config/medicine-stack
|
||||||
|
docker-compose exec postgres psql -c 'CREATE DATABASE medicine_remd' --username=postgres
|
||||||
|
fi
|
||||||
|
|
||||||
read -p "Enter organization name: " ORGANIZATION_NAME
|
read -p "Enter organization name: " ORGANIZATION_NAME
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue