refactor(docker-compose): rename containers to prevent duplicate names

This commit is contained in:
Vladislav Syrochkin 2025-04-03 11:12:28 +05:00
parent ff265ce1d4
commit 8b62b8b7a6

View File

@ -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