Skip to content

Instantly share code, notes, and snippets.

@billhathaway
Created December 23, 2014 18:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save billhathaway/e32060b96802d74ca586 to your computer and use it in GitHub Desktop.
Save billhathaway/e32060b96802d74ca586 to your computer and use it in GitHub Desktop.
Getting IronMQ on-premise running in Vagrant
# more detailed instructions are at http://dev.iron.io/mq-onpremise/getting_started
# Get a coreos VM up
git clone https://github.com/coreos/coreos-vagrant.git
cd coreos-vagrant/
vagrant up
# get into the coreos box
vagrant ssh
# build a volume for the iron containers to share
docker run --name irondata -v /mnt/data:/ironmq/data busybox true
# start MQ and auth containers
docker run -d --volumes-from irondata -p 8080:8080 iron/mq
docker run -d --volumes-from irondata -p 8090:8090 --net=host iron/auth
# create a user, replace email and password with reasonable values
docker run -it --net=host iron/authcli iron -t adminToken create user admin@example.com lamepassword
# grab the response value of token from previous command and stick it a variable
TOKEN=YOUR_VALUE_HERE
# create a project using the token
docker run -it --net=host iron/authcli iron -t $TOKEN create project myproject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment