mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
25 lines
730 B
Ruby
25 lines
730 B
Ruby
Vagrant.configure("2") do |config|
|
|
|
|
config.hostmanager.enabled = true
|
|
config.hostmanager.manage_host = true
|
|
|
|
config.vm.box = 'laravel/homestead-7'
|
|
config.vm.box_version = '0.2.1'
|
|
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.cpus = 4
|
|
v.memory = 1024
|
|
end
|
|
|
|
config.vm.define 'default' do |node|
|
|
node.vm.hostname = 'ponyfm-dev.poni'
|
|
node.vm.network :private_network, ip: "192.168.33.11"
|
|
node.hostmanager.aliases = %w(api.ponyfm-dev.poni)
|
|
end
|
|
|
|
config.vm.synced_folder ".", "/vagrant", type: "nfs"
|
|
config.bindfs.bind_folder "/vagrant", "/vagrant"
|
|
|
|
config.vm.provision "shell", path: "vagrant/install.sh"
|
|
config.vm.provision "shell", path: "vagrant/copy-and-restart-configs.sh", run: "always"
|
|
end
|