1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2025-08-17 11:14:15 +10:00
parent 5dfc47cb60
commit 7c2c846e3b
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ 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
read -r -p "Create database? [y/N] " response read -r -p "Create database? [y/N] " response
if [[ $prompt =~ [yY](es)* ]] if [[ $response =~ ^[Yy](es)?$ ]]; then
then then
docker exec medicine-stack-postgres psql -c 'CREATE DATABASE medicine_remd' --username=postgres docker exec medicine-stack-postgres psql -c 'CREATE DATABASE medicine_remd' --username=postgres
fi fi