FROM docker.io/library/rabbitmq:3.13.7-management

LABEL org.opencontainers.image.title="datahub-rabbitmq3" \
      org.opencontainers.image.vendor="WPIC" \
      org.opencontainers.image.licenses="LicenseRef-WPIC-Proprietary" \
      org.opencontainers.image.source="https://repo.yneed.cn/wpic-dev/datahub"

ARG TIMEZONE=Asia/Shanghai
ENV TZ=${TIMEZONE}

# management plugin is pre-enabled in `-management-alpine` upstream tag.
# topology (vhost / users / exchanges / queues / bindings) is NOT baked into
# the image; it's loaded at runtime from a host-mounted definitions.json
# (rendered from SSOT credentials.yml by Round 06 ops scripts) per cicd §A/§B.

EXPOSE 5672 15672
