Skip to content

Instantly share code, notes, and snippets.

@feniix
Created October 29, 2014 23:08
Show Gist options
  • Save feniix/4bae2ae9f5925e9939b0 to your computer and use it in GitHub Desktop.
Save feniix/4bae2ae9f5925e9939b0 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 "g" do |g|
g.vm.provider "docker" do |d|
d.image = "dockerfile/redis"
d.name = "garys_delight"
d.has_ssh = false
d.cmd = ["/usr/local/bin/redis-server", "/etc/redis/redis.conf"]
d.ports = ["6379:6379"]
end
end
config.vm.define "s" do |s|
s.vm.provider "docker" do |d|
d.image = "dockerfile/redis"
d.name = "sebs_delight"
d.has_ssh = false
d.cmd = ["/usr/local/bin/redis-server", "/etc/redis/redis.conf"]
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment