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

14 lines
344 B
Bash
Executable File

set -e
docker pull docker.med-logic.ru/medicine-notification:latest
cd /root/medicine-config/service-postgres
docker-compose up -d
docker-compose exec postgres psql -c 'CREATE DATABASE medicine_notification' --username=user
cat <<EOT >> /root/medicine-config/notification/.env
EOT
cd /root/medicine-config/notification
docker-compose up -d