Skip to content

Instantly share code, notes, and snippets.

@tgvdinesh
Created April 24, 2018 09:46
Show Gist options
  • Save tgvdinesh/066d4c68aee2bbf236cad58367f3ee31 to your computer and use it in GitHub Desktop.
Save tgvdinesh/066d4c68aee2bbf236cad58367f3ee31 to your computer and use it in GitHub Desktop.
makefile for Rabbit mq
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