1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2022-01-12 20:30:25 +10:00
parent 60fb77ea29
commit ac184c4b4b
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ ARGUMENT="$2"
update() { update() {
echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin
docker pull docker.med-logic.ru/medicine-remd:latest docker pull docker.med-logic.ru/medicine-remd:latest
docker-compose run --rm medicine-remd python manage.py migrate directory --noinput docker-compose run --rm medicine-remd python manage.py migrate --noinput
docker-compose stop docker-compose stop
docker-compose up -d docker-compose up -d