rabbitmq/compose.yaml

37 lines
815 B
YAML
Raw Normal View History

# Rx3 RabbitMQ Mageia-9 Docker Image
#-------------------------------------------------------------------------------
name: ${IMG_NAME}
services:
mqserver:
container_name: ${IMG_NAME}
image: ${IMG_URL}
build:
context: .
args:
- IMG_NAME=${IMG_NAME}
- IMG_FULL_NAME=${IMG_FULL_NAME}
- IMG_VERSION=${IMG_VERSION}
- IMG_MAINTAINER=${IMG_MAINTAINER}
- IMG_URL_PREFIX=${IMG_URL_PREFIX}
restart: unless-stopped
environment:
RABBITMQ_UID: ${RABBITMQ_UID}
RABBITMQ_GID: ${RABBITMQ_GID}
volumes:
- ./lib/rabbitmq:/var/lib/rabbitmq
network_mode: bridge
ports:
- "127.0.0.1:9015:9001"
- "127.0.0.1:8072:5672"
- "127.0.0.1:8073:15672"