Skip to content

Instantly share code, notes, and snippets.

@dcampano
Created May 7, 2014 15:16
Show Gist options
  • Save dcampano/934c830c3e422d9a4102 to your computer and use it in GitHub Desktop.
Save dcampano/934c830c3e422d9a4102 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.network "forwarded_port", guest: 6379, host: 6379
config.vm.provider "docker" do |d|
d.image = "dockerfile/redis"
d.ports = ['6379:6379']
d.create_args = ['-P']
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment