From 555c73ebb36e958fb68515d76d73fdbff58f8a5d Mon Sep 17 00:00:00 2001 From: Ilya Mukhortov Date: Thu, 15 Oct 2026 09:22:13 +1000 Subject: [PATCH] del notification --- notification/docker-compose.yml | 19 ------------------- notification/install.sh | 14 -------------- notification/update.sh | 10 ---------- 3 files changed, 43 deletions(-) delete mode 100644 notification/docker-compose.yml delete mode 100755 notification/install.sh delete mode 100755 notification/update.sh diff --git a/notification/docker-compose.yml b/notification/docker-compose.yml deleted file mode 100644 index afc32b0..0000000 --- a/notification/docker-compose.yml +++ /dev/null @@ -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 diff --git a/notification/install.sh b/notification/install.sh deleted file mode 100755 index ada1386..0000000 --- a/notification/install.sh +++ /dev/null @@ -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 diff --git a/notification/update.sh b/notification/update.sh deleted file mode 100755 index baa4a43..0000000 --- a/notification/update.sh +++ /dev/null @@ -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 -)