Improve RabbitMQ ready command

This commit is contained in:
Disassembler 2019-12-20 08:54:31 +01:00
parent 48510beb28
commit d08848a4d0
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -13,4 +13,4 @@ EOF
USER 5672 5672 USER 5672 5672
ENV HOME /usr/lib/rabbitmq ENV HOME /usr/lib/rabbitmq
CMD rabbitmq-server CMD rabbitmq-server
READY grep -q "Server startup complete" /var/log/rabbitmq/rabbit@*.log READY rabbitmqctl await_startup