26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
|
# -*- mode: ruby -*-
|
||
|
# vi: set ft=ruby :
|
||
|
|
||
|
# All Vagrant configuration is done below. The "2" in Vagrant.configure
|
||
|
# configures the configuration version (we support older styles for
|
||
|
# backwards compatibility). Please don't change it unless you know what
|
||
|
# you're doing.
|
||
|
Vagrant.configure("2") do |config|
|
||
|
config.vm.define "disroot_lan" do |disroot_lan|
|
||
|
disroot_lan.vm.box="debian/stretch64"
|
||
|
disroot_lan.vm.hostname = 'disroot.lan'
|
||
|
disroot_lan.vm.box_url = "debian/stretch64"
|
||
|
|
||
|
disroot_lan.vm.synced_folder "provision/", "/vagrant/provision/"
|
||
|
disroot_lan.vm.synced_folder "../pages/", "/var/www/disroot.lan/user/pages", owner: "www-data", group: "www-data"
|
||
|
disroot_lan.vm.synced_folder "../themes/", "/var/www/disroot.lan/user/themes/", owner: "www-data", group: "www-data"
|
||
|
|
||
|
disroot_lan.vm.network "forwarded_port", guest: 80, host: 8888, host_ip: "192.168.33.12"
|
||
|
disroot_lan.vm.network "forwarded_port", guest: 443, host: 4443, host_ip: "192.168.33.12"
|
||
|
disroot_lan.vm.network "private_network", ip: "192.168.33.12"
|
||
|
|
||
|
disroot_lan.vm.provision :shell, path: "bootstrap.sh"
|
||
|
|
||
|
end
|
||
|
end
|