From 8b62b8b7a6449777fd3c60c2394dbb0fa59de9a8 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Thu, 3 Apr 2025 11:12:28 +0500 Subject: [PATCH] refactor(docker-compose): rename containers to prevent duplicate names --- docker-compose.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 9856d4f..613bf4a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,13 +3,13 @@ version: "3.1" services: rabbitmq: image: rabbitmq:4-management-alpine - container_name: rabbitmq + container_name: rabbitmq-connect ports: - 5672:5672 - 15672:15672 db: image: mysql:8.0 - container_name: mysql + container_name: mysql-connect environment: MYSQL_ROOT_PASSWORD: hackme MYSQL_DATABASE: connect_test @@ -21,7 +21,7 @@ services: - "3306:3306" redis: image: redis:7-alpine - container_name: redis + container_name: redis-connect command: redis-server --requirepass password environment: REDIS_PASSWORD: hackme