From d824b92b5b6f38c1abf6fabc466174c84ed2a8a9 Mon Sep 17 00:00:00 2001 From: Ilya Mukhortov Date: Sat, 30 May 2026 18:33:40 +1000 Subject: [PATCH] add notifications --- notification/docker-compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 notification/docker-compose.yml diff --git a/notification/docker-compose.yml b/notification/docker-compose.yml new file mode 100644 index 0000000..369feff --- /dev/null +++ b/notification/docker-compose.yml @@ -0,0 +1,21 @@ +networks: + medicine-network: + external: true + +services: + notification: + container_name: "notification" + restart: "always" + image: medicine-notification:latest + env_file: + - ../.env + networks: + - medicine-network + environment: + DATABASE_URL: postgresql://postgres:password@medicine-postgres/notification + SENTRY_DNS: https://f177afb8b8a44800a7ac5f14fb4a7666:b5de0145097e45ed8b85807fd9d10167@sentry.med-logic.ru/15 + logging: + driver: "json-file" + options: + max-size: "5m" + max-file: "5"