vou testar essa opção rabbitmq: image: rabbitmq:3.8.17-management healthcheck: test: rabbitmq-diagnostics check_port_connectivity interval: 30s timeout: 30s retries: 10

talvez funcione