Hi - I am new to vagrant (and docker) and have set up a simple Vagrantfile
to start up a rabbitmq instance inside a docker container (using the
official docker image for that).
I want to connect to the rabbitmq management plugin in my browser on my
host machine - I am on a Mac. I get a connection refused. I am clearly not
yet understanding how perhaps port forwarding works. I am using Vagrant
version 1.7.2 - a fresh install of that and Virtualbox. When I "vagrant up"
- everything starts up fine and docker-logs shows me that rabbit started
too.
This is my Vagrantfile
Vagrant.require_version ">= 1.6.0"
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'docker'
Vagrant.configure("2") do |config|
config.vm.synced_folder ".", "/vagrant", type: "rsync",
rsync__exclude: ".git/", disabled: false
config.vm.provider "docker" do |docker|
docker.image = "rabbitmq:3-management"
docker.ports = ['5672:5672', '15672:8080'] # host:container
docker.name = 'rabbitmq'
docker.create_args = ['-e', 'RABBITMQ_NODENAME=johnny-is-a-rabbit']
end
config.ssh.insert_key = false
end
Please can somebody let me know what URL to use in my browser so that I can
see the rabbitmq management plugin ... Or what changes I would need to make
to the Vagrantfile for this to work
(I have tried localhost:15672 and localhost:8080 ...)
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.