Last active
August 28, 2018 12:21
-
-
Save koenkarsten/6d387f88e5942ad6e2200b9c28f4bebd to your computer and use it in GitHub Desktop.
RabbitMQ Vagrantfile
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
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "forwarded_port", guest: 5672, host: 5672 | |
config.vm.network "forwarded_port", guest: 15672, host: 15672 | |
config.vm.provision "shell", inline: <<-SHELL | |
wget -O - 'https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc' | sudo apt-key add - | |
echo "deb https://dl.bintray.com/rabbitmq/debian trusty main" | sudo tee | |
apt-get update | |
apt-get install -y erlang rabbitmq-server | |
rabbitmq-plugins enable rabbitmq_management | |
service rabbitmq-server restart | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment