From 1f3d4525d8a8af14d184461307b1501b90ab0193 Mon Sep 17 00:00:00 2001 From: Lisoveliy Date: Thu, 24 Jul 2025 20:40:23 +0300 Subject: [PATCH] chore: added RabbitMQ package to docker and csproj --- JOBot.Backend/JOBot.Backend.csproj | 1 + JOBot.TClient/JOBot.TClient.csproj | 1 + compose.dev.yml | 12 +++++++++++- compose.yml | 7 +++++++ 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/JOBot.Backend/JOBot.Backend.csproj b/JOBot.Backend/JOBot.Backend.csproj index 1f9a3c1..d137fc6 100644 --- a/JOBot.Backend/JOBot.Backend.csproj +++ b/JOBot.Backend/JOBot.Backend.csproj @@ -20,6 +20,7 @@ all + diff --git a/JOBot.TClient/JOBot.TClient.csproj b/JOBot.TClient/JOBot.TClient.csproj index 987d35a..6489bda 100644 --- a/JOBot.TClient/JOBot.TClient.csproj +++ b/JOBot.TClient/JOBot.TClient.csproj @@ -20,6 +20,7 @@ + diff --git a/compose.dev.yml b/compose.dev.yml index ea8011c..3ff879e 100644 --- a/compose.dev.yml +++ b/compose.dev.yml @@ -1,6 +1,15 @@ version: '3.8' services: + rabbitmq: + hostname: jobot-rabbit + image: rabbitmq:4 + ports: + - "5672:5672" + - "15672:15672" + volumes: + - rabbitmq_data:/var/lib/rabbitmq/ + postgres: image: postgres:15 environment: @@ -38,4 +47,5 @@ networks: jobot: volumes: - postgres_data: \ No newline at end of file + postgres_data: + rabbitmq_data: \ No newline at end of file diff --git a/compose.yml b/compose.yml index 6ebc653..c6f70c9 100644 --- a/compose.yml +++ b/compose.yml @@ -1,6 +1,12 @@ version: '3.8' services: + rabbitmq: + hostname: jobot-rabbit + image: rabbitmq:4 + volumes: + - rabbitmq_data:/var/lib/rabbitmq/ + postgres: image: postgres:15 environment: @@ -17,6 +23,7 @@ services: dockerfile: JOBot.Backend/Dockerfile depends_on: - postgres + - image ports: - "5000:5000" networks: