1
0
Fork 0
medicine-config/medicine-remd/install.sh

8 lines
340 B
Bash
Executable File

#!/bin/sh
docker exec -i medicine-stack-postgres psql -c 'CREATE DATABASE medicine_remd' --username=postgres
echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin
docker pull docker.med-logic.ru/medicine-remd:latest
docker-compose run --rm medicine-remd python manage.py post_install
docker-compose up -d