Created
October 31, 2014 04:59
-
-
Save shin1x1/8f3d7d80e7b270256a78 to your computer and use it in GitHub Desktop.
プロビジョン済 Box を起動する Vagrantfile
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
# -*- 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| | |
if Vagrant.has_plugin?("vagrant-cachier") | |
config.cache.scope = :box | |
end | |
config.vm.define :develop do |develop| | |
develop.vm.hostname = "develop" | |
develop.vm.box = "phpci_handson_develop" | |
develop.vm.network :private_network, ip: "192.168.33.10" | |
develop.vm.synced_folder "application", "/var/www/application/current", | |
id: "vagrant-root", :nfs => false, | |
:owner => "vagrant", | |
:group => "www-data", | |
:mount_options => ["dmode=775,fmode=775"] | |
end | |
config.vm.define :ci do |ci| | |
ci.vm.hostname = "ci" | |
ci.vm.box = "phpci_handson_ci" | |
ci.vm.network :private_network, ip: "192.168.33.100" | |
end | |
config.vm.define :deploy do |deploy| | |
deploy.vm.hostname = "deploy" | |
deploy.vm.box = "phpci_handson_deploy" | |
deploy.vm.network :private_network, ip: "192.168.33.200" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment