Skip to content

Instantly share code, notes, and snippets.

@andyshinn
Created June 18, 2014 23:56
Show Gist options
  • Select an option

  • Save andyshinn/98451f04a5b982887211 to your computer and use it in GitHub Desktop.

Select an option

Save andyshinn/98451f04a5b982887211 to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "redis" do |redis|
redis.vm.provider "docker" do |d|
d.name = "redis"
d.image = "redis"
end
end
config.vm.define "firehose" do |firehose|
firehose.vm.provider "docker" do |d|
d.name = "firehose"
d.image = "firehose/server"
d.ports = ["7474:7474"]
d.link "redis:redis"
d.env = {
"REDIS_URL" => "redis://\$REDIS_PORT_6379_TCP_ADDR:\$REDIS_PORT_6379_TCP_PORT/0",
"LOG_LEVEL" => "info",
"PORT" => "7474",
"HOST" => "0.0.0.0",
"SERVER" => "rainbows"
}
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment