3
0
Fork 0
medicine-config/notification/install.sh

12 lines
291 B
Bash
Executable File

set -e
docker pull docker.med-logic.ru/medicine-notification:latest
cd /root/medicine-config/postgres
docker-compose up -d
sleep 10
docker-compose exec postgres psql -c 'CREATE DATABASE medicine_notification' --username=postgres
cd /root/medicine-config/notification
docker-compose up -d