2024-09-09 23:59:51 +02:00
|
|
|
# Rx3 RabbitMQ Mageia-9 Docker Image
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
name: ${IMG_NAME}
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
mqserver:
|
|
|
|
container_name: ${IMG_NAME}
|
2024-11-01 17:45:10 +01:00
|
|
|
hostname: ${IMG_NAME}
|
2024-09-09 23:59:51 +02:00
|
|
|
|
|
|
|
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:
|
2024-10-07 14:18:06 +02:00
|
|
|
- ./var/lib/rabbitmq:/var/lib/rabbitmq
|
2024-09-09 23:59:51 +02:00
|
|
|
|
|
|
|
network_mode: bridge
|
|
|
|
|
|
|
|
ports:
|
2024-10-07 14:18:06 +02:00
|
|
|
- "127.0.0.1:${MQSERVER_SV_PORT}:9001"
|
|
|
|
- "127.0.0.1:${MQSERVER_PORT}:5672"
|
|
|
|
- "127.0.0.1:${MQSERVER_ADMIN_PORT}:15672"
|