rabbitmq/compose.yaml

37 lines
864 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:
- ./var/lib/rabbitmq:/var/lib/rabbitmq
network_mode: bridge
ports:
- "127.0.0.1:${MQSERVER_SV_PORT}:9001"
- "127.0.0.1:${MQSERVER_PORT}:5672"
- "127.0.0.1:${MQSERVER_ADMIN_PORT}:15672"