3
0
Fork 0

del notification

This commit is contained in:
Ilya Mukhortov 2026-10-15 09:22:13 +10:00
parent 8b242cd3bd
commit 555c73ebb3
3 changed files with 0 additions and 43 deletions

View File

@ -1,19 +0,0 @@
version: '3.4'
networks:
medicine-network:
external: true
services:
notification:
restart: "always"
container_name: "medicine-notification"
image: docker.med-logic.ru/medicine-notification:latest
networks:
- medicine-network
expose:
- 80
environment:
DATABASE_URL: postgres://postgres:password@medicine-postgres:5432/medicine_notification
REDIS_HOST: medicine-redis
SENTRY_DNS: https://f177afb8b8a44800a7ac5f14fb4a7666:b5de0145097e45ed8b85807fd9d10167@sentry.med-logic.ru/15

View File

@ -1,14 +0,0 @@
set -e
docker pull docker.med-logic.ru/micro-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/redis
docker-compose up -d
cd /root/medicine-config/notification
docker-compose up -d

View File

@ -1,10 +0,0 @@
#!/bin/sh
set -e
docker pull docker.med-logic.ru/medicine-notification:latest
(cd /root/medicine-config/notification &&
docker-compose stop &&
docker-compose up -d
)