-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
23 lines (23 loc) · 1.12 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Vagrant.configure("2") do |config|
config.vm.box = "generic/centos8"
config.vm.hostname = "bento"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 443, host: 4043
config.vm.network "forwarded_port", guest: 22, host: 2222
config.vm.provider "virtualbox" do |virtualbox|
virtualbox.name = "bento"
virtualbox.customize [
"modifyvm", :id,
"--nicpromisc2", "allow-vms",
"--natdnshostresolver1", "on"
]
end
config.vm.synced_folder ".", "/var/www/flask-modules"
config.vm.provision :shell, path: "./vagrant_provision/packages.sh"
config.vm.provision :shell, path: "./vagrant_provision/dev_env.sh"
config.vm.provision :shell, path: "./vagrant_provision/nginx.sh"
config.vm.provision :shell, path: "./vagrant_provision/postgres.sh"
config.vm.provision :shell, path: "./vagrant_provision/modules.sh"
config.vm.provision :shell, path: "./vagrant_provision/schemas.sh"
config.vm.provision :shell, path: "./vagrant_provision/crons.sh"
end