Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- mode: ruby -*-
- # vi: set ft=ruby :
- Vagrant.configure("2") do |config|
- config.vm.box = "apli_dev"
- config.vm.network "forwarded_port", guest: 8000, host: 8000
- config.vm.network "forwarded_port", guest: 5432, host: 5432
- config.vm.network "forwarded_port", guest: 6379, host: 6379
- config.vm.network "forwarded_port", guest: 9200, host: 9200
- config.vm.synced_folder "/work/apli/backend", "/home/vagrant/apps/apli"
- config.vm.provision :shell, :path => "provisioner.sh"
- config.vm.provider "virtualbox" do |vb|
- # Customize the amount of memory on the VM:
- vb.memory = "1024"
- end
- # Enable provisioning with a shell script. Additional provisioners such as
- # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
- # documentation for more information about their specific syntax and use.
- # config.vm.provision "shell", inline: <<-SHELL
- # apt-get update
- # apt-get install -y apache2
- # SHELL
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement