Created
February 12, 2015 11:08
-
-
Save geoffreysmith/6859d872420216821cff to your computer and use it in GitHub Desktop.
Vagrant Sitecore8 dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.require_version ">= 1.6.3" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.define "boot2docker" | |
config.vm.box = "yungsang/boot2docker" | |
config.vm.synced_folder ".", "/vagrant" | |
# Uncomment below to use more than one instance at once | |
config.vm.network "public_network" | |
config.vm.network "forwarded_port", guest: 8983, host: 8983, auto_correct: true | |
config.vm.network "forwarded_port", guest: 27017, host: 27017, auto_correct: true | |
config.vm.provision :docker do |d| | |
d.run "makuk66/docker-solr", | |
auto_assign_name: false, | |
args: "--name solr -p 8983:8983" | |
d.run "mongo", | |
auto_assign_name: false, | |
args: "--name mongo -p 27017:27017" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment