Arnaud G. GIBERT
ef8a780452
- New version naming standard, - Now use docker_tools for .env building, - Use now rx3-docker/server:1.2.0-mga9 image, - Add /var/log/init & /var/log/supervisor volumes, - Add healthcheck example in compose file.
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
# Rx3-Docker/RabbitMQ Docker Image
|
|
#-------------------------------------------------------------------------------
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Global Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
ORG_NAME="rx3-docker"
|
|
ORG_REGISTRY="docker.xor.rx3:5000"
|
|
|
|
ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Image Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
IMG_NAME="rabbitmq"
|
|
IMG_NAME_FULL="Rx3-Docker/PostgreSQL Docker Image"
|
|
IMG_VERSION="1.1.0-mga9"
|
|
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
|
|
|
IMG_URL_PREFIX="${ORG_URL_PREFIX}"
|
|
IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}"
|
|
|
|
IMG_FROM_URL="${ORG_URL_PREFIX}/server:1.2.0-mga9"
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# User Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
ENV_PORT_OFFSET=0
|
|
SV_PORT_OFFSET=1000
|
|
|
|
MQSERVER_PORT_MAIN_EXT=$(( 8072 + ${ENV_PORT_OFFSET}))
|
|
MQSERVER_PORT_MAIN_INT=5672
|
|
|
|
MQSERVER_PORT_ADMIN_EXT=$(( 8073 + ${ENV_PORT_OFFSET}))
|
|
MQSERVER_PORT_ADMIN_INT=15672
|
|
|
|
MQSERVER_PORT_SV_EXT=$(( ${MQSERVER_PORT_MAIN_EXT} + ${SV_PORT_OFFSET}))
|
|
MQSERVER_PORT_SV_INT=9001
|
|
|
|
MQSERVER_LIB_DIR="/var/lib/pgsql"
|
|
MQSERVER_LOG_INIT_DIR="/var/log/init"
|
|
MQSERVER_LOG_SV_DIR="/var/log/supervisor"
|
|
MQSERVER_LOG_POSTRMQ_DIR="${MQSERVER_LOG_SV_DIR}"
|
|
|
|
RABBITMQ_UID=480
|
|
RABBITMQ_GID=398
|