You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

21 lines
575 B

services:
ready: # stub service to ensure compose up waits until rabbitmq is healthy
image: "busybox"
depends_on:
rabbitmq:
condition: service_healthy
rabbitmq:
image: "rabbitmq:3-management-alpine"
environment:
RABBITMQ_ERLANG_COOKIE: SWQOKODSQALRPCLNMEQG
RABBITMQ_DEFAULT_USER: rabbitmq
RABBITMQ_DEFAULT_PASS: wagslane
ports:
- "15672:15672"
- "5672:5672"
healthcheck:
test: ["CMD-SHELL", "rabbitmq-diagnostics -q check_port_connectivity"]
interval: 5s
timeout: 5s
retries: 5