- docker-compose.yml
services:
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3-management-alpine
init: true
volumes:
- ./volume/rabbitmq/etc:/etc/rabbitmq
- ./volume/rabbitmq/data:/var/lib/rabbitmq
- ./volume/rabbitmq/logs:/var/log/rabbitmq
- ./volume/enabled_plugins:/etc/rabbitmq/enabled_plugins
ports:
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_USER: "root"
RABBITMQ_DEFAULT_PASS: "changeme"
- volume/enabled_plugins
[rabbitmq_management, rabbitmq_web_dispatch, rabbitmq_management_agent].
'개발공부 > Docker' 카테고리의 다른 글
Docker Compose로 PostgreSQL 실행하기 (0) | 2023.01.31 |
---|---|
Docker Compose로 Redis 실행하기 (0) | 2023.01.31 |
Docker Compose로 MariaDB 실행하기 (0) | 2020.08.29 |
CentOS 7에 Docker Compose 설치하기 (0) | 2020.08.29 |
CentOS 7에 Docker 설치하기 (0) | 2020.08.29 |