Created
April 24, 2018 09:46
-
-
Save tgvdinesh/066d4c68aee2bbf236cad58367f3ee31 to your computer and use it in GitHub Desktop.
makefile for Rabbit mq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: | |
@docker pull rabbitmq:3.7.4-management | |
run: | |
@docker run -d --hostname localhost --name my-rabbitmq -p 8080:61617 -p 8081:15672 -e RABBITMQ_DEFAULT_USER=user -e RABBITMQ_DEFAULT_PASS=password rabbitmq:3-management | |
start http://localhost:8081 | |
start: | |
@docker start my-rabbitmq | |
stop: | |
@docker stop my-rabbitmq | |
clean: | |
@docker rm -v my-rabbitmq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment