ClickHouse/tests/integration/compose/docker_compose_rabbitmq.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
1.0 KiB
YAML
Raw Normal View History

services:
rabbitmq1:
2024-10-03 16:39:59 +00:00
image: rabbitmq:4.0.2-alpine
hostname: rabbitmq1
2024-10-03 16:39:59 +00:00
environment:
RABBITMQ_FEATURE_FLAGS: feature_flags_v2,message_containers
2021-04-30 12:22:37 +00:00
expose:
- ${RABBITMQ_PORT:-5672}
2023-11-14 20:13:09 +00:00
- ${RABBITMQ_SECURE_PORT:-5671}
2021-05-17 11:16:16 +00:00
volumes:
- type: ${RABBITMQ_LOGS_FS:-tmpfs}
source: ${RABBITMQ_LOGS:-}
2021-05-18 11:02:23 +00:00
target: /rabbitmq_logs/
- "${RABBITMQ_COOKIE_FILE}:/var/lib/rabbitmq/.erlang.cookie"
2023-11-14 20:13:09 +00:00
- /misc/rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
- /misc/rabbitmq/ca-cert.pem:/etc/rabbitmq/ca-cert.pem
- /misc/rabbitmq/server-cert.pem:/etc/rabbitmq/server-cert.pem
- /misc/rabbitmq/server-key.pem:/etc/rabbitmq/server-key.pem
2024-11-13 13:41:16 +00:00
- /misc/rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins
# https://www.rabbitmq.com/docs/monitoring#health-checks
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 10s
retries: 10
timeout: 2s