forked from jonashackt/gitlab-ci-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
23 lines (17 loc) · 827 Bytes
/
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.define "gitlab-ci-stack"
config.vm.box = "ubuntu/bionic64"
# Register domain and tld for later access prettiness (working with vagrant-dns Plugin https://github.com/BerlinVagrant/vagrant-dns)
config.vm.hostname = "jonashackt"
config.dns.tld = "io"
# Configure private network and static ip (https://www.vagrantup.com/docs/networking/private_network.html)
config.vm.network "private_network", ip: "172.16.2.15"
config.vm.provider :virtualbox do |virtualbox|
virtualbox.name = "gitlab-ci-stack"
#virtualbox.gui = true
virtualbox.memory = 4096
virtualbox.cpus = 2
# Forward DNS resolver from host (vagrant dns) to box
virtualbox.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
end