rabbitmq/compose.yaml
Arnaud G. GIBERT d04d7ed47f - Now use rx3/server-mga9:1.1.3 image,
- Move from http://ftp.free.fr/ mirror to http://mirror.rx3.rx3/,
- Variabilization of external server ports in env & compose file,
- Now use docker_tools for .env building.
2024-10-07 14:18:06 +02:00

37 lines
864 B
YAML

# 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"