-
Notifications
You must be signed in to change notification settings - Fork 24
/
Vagrantfile
27 lines (25 loc) · 1.02 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
24
25
26
27
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vbguest.iso_path = "D:/Programs/Oracle/VirtualBox/VBoxGuestAdditions.iso"
config.vm.define "padawan", primary: true do |machine|
machine.vm.box = "centos/7"
machine.vm.box_version = "1811.02"
machine.vm.hostname = "padawan"
machine.vm.provider "virtualbox" do |vb, override|
vb.memory = "8192"
vb.cpus = "2"
vb.gui = true
machine.vm.synced_folder ".", "/u01/padawan", owner: "vagrant", group: "vagrant"
end
# machine.vm.provider "hyperv" do |hp, override|
# hp.memory = "8192"
# hp.cpus = "2"
# machine.vm.synced_folder ".", "/u01/padawan", owner: "vagrant", group: "vagrant"
####problem - as it comes up it asks for username/password
# end
machine.vm.provision :docker
machine.vm.provision :docker_compose, yml: "/u01/padawan/docker/vagrant/docker-compose.yml", run: "always"
end
config.vm.network "forwarded_port", guest: 3000, host: 3000, host_ip: "127.0.0.1"
end