connect/docker-compose.yaml

34 lines
689 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:
- mysql_data:/var/lib/mysql
ports:
- "3306:3306"
redis:
image: redis:7-alpine
container_name: redis
command: redis-server --requirepass password
environment:
REDIS_PASSWORD: hackme
ports:
- "6379:6379"
volumes:
- redis_data:/data
volumes:
mysql_data:
redis_data: