1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2023-08-29 20:35:34 +10:00
parent 994ef99936
commit bf14a037b4
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
set -e
echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin
docker pull docker.med-logic.ru/medicine-remd:latest
cd /root/medicine-config/medicine-stack
docker-compose exec postgres psql -c 'CREATE DATABASE medicine_remd' --username=postgres
cd /root/medicine-config/medicine-remd
docker-compose run --rm medicine-remd python manage.py post_install