23 lines
438 B
YAML
23 lines
438 B
YAML
version: "3.1"
|
|
|
|
services:
|
|
rabbitmq:
|
|
image: rabbitmq:4-management-alpine
|
|
container_name: rabbitmq
|
|
ports:
|
|
- 5672:5672
|
|
- 15672:15672
|
|
db:
|
|
image: mysql:8.0
|
|
container_name: mysql
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: hackme
|
|
MYSQL_DATABASE: connect_test
|
|
MYSQL_USER: connect
|
|
MYSQL_PASSWORD: hackme
|
|
volumes:
|
|
- data:/var/lib/mysql
|
|
ports:
|
|
- "3306:3306"
|
|
volumes:
|
|
data: |