3
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2026-06-02 20:20:48 +10:00
parent b317df8b32
commit 8b1ea22a39
2 changed files with 2 additions and 4 deletions

View File

@ -15,5 +15,5 @@ services:
- 80
environment:
DATABASE_URL: postgres://postgres:password@medicine-postgres:5432/medicine_notification
REDIS_HOST: redis
REDIS_HOST: medicine-stack-redis
SENTRY_DNS: https://f177afb8b8a44800a7ac5f14fb4a7666:b5de0145097e45ed8b85807fd9d10167@sentry.med-logic.ru/15

View File

@ -4,10 +4,8 @@ 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
cat <<EOT >> /root/medicine-config/notification/.env
EOT
cd /root/medicine-config/notification
docker-compose up -d