Created
February 21, 2016 16:34
-
-
Save kiarina/1c41545eaef9b5b8f3ab to your computer and use it in GitHub Desktop.
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 : | |
# load .env | |
Dotenv.load | |
# 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| | |
# Web Server | |
config.vm.define "dev-br-ws" do |node| | |
node.vm.box = "centos/7" | |
node.vm.hostname = "dev-br-ws" | |
node.vm.network :private_network, ip: "192.168.99.2" | |
node.vm.synced_folder "./", "/vagrant", owner:'vagrant', group:'vagrant',mount_options:['dmode=777','fmode=777'] | |
end | |
# DB Server | |
# config.vm.define "dev-br-db" do |node| | |
# node.vm.box = "centos/7" | |
# node.vm.hostname = "dev-br-db" | |
# node.vm.network :private_network, ip: "192.168.99.3" | |
# node.vm.synced_folder "./", "/vagrant", owner:'vagrant', group:'vagrant',mount_options:['dmode=777','fmode=777'] | |
# end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment