1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2024-04-01 12:23:44 +10:00
parent ed34afb804
commit 0a6680dc7b
1 changed files with 6 additions and 2 deletions

View File

@ -4,8 +4,12 @@ echo "readonly" | docker login docker.med-logic.ru --username readonly --passwor
docker pull docker.med-logic.ru/medicine-remd:latest
cd /root/medicine-config/medicine-stack
docker-compose exec postgres psql -c 'CREATE DATABASE IF NOT EXISTS medicine_remd' --username=postgres
read -r -p "Create database? [y/N] " prompt
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