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"