Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
daggerok authored Sep 25, 2017
1 parent 2a81508 commit 2f7a3dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rabbitmq-mongo/rabbitmq-healthcheck/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM rabbitmq:3.6.12-management-alpine
MAINTAINER Maksim Kostromin <[email protected]>
EXPOSE 5672 15672 61613
RUN rabbitmq-plugins enable rabbitmq_stomp --offline \
&& apk --no-cache add curl
HEALTHCHECK --interval=5s --timeout=5s --retries=20 CMD curl -f http://127.0.0.1:15672 || exit 1

0 comments on commit 2f7a3dc

Please sign in to comment.