refactor(docker-compose): rename containers to prevent duplicate names
This commit is contained in:
parent
ff265ce1d4
commit
8b62b8b7a6
@ -3,13 +3,13 @@ version: "3.1"
|
|||||||
services:
|
services:
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
image: rabbitmq:4-management-alpine
|
image: rabbitmq:4-management-alpine
|
||||||
container_name: rabbitmq
|
container_name: rabbitmq-connect
|
||||||
ports:
|
ports:
|
||||||
- 5672:5672
|
- 5672:5672
|
||||||
- 15672:15672
|
- 15672:15672
|
||||||
db:
|
db:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
container_name: mysql
|
container_name: mysql-connect
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: hackme
|
MYSQL_ROOT_PASSWORD: hackme
|
||||||
MYSQL_DATABASE: connect_test
|
MYSQL_DATABASE: connect_test
|
||||||
@ -21,7 +21,7 @@ services:
|
|||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
container_name: redis
|
container_name: redis-connect
|
||||||
command: redis-server --requirepass password
|
command: redis-server --requirepass password
|
||||||
environment:
|
environment:
|
||||||
REDIS_PASSWORD: hackme
|
REDIS_PASSWORD: hackme
|
||||||
|
Loading…
Reference in New Issue
Block a user