-
Notifications
You must be signed in to change notification settings - Fork 0
/
VagrantFile
50 lines (40 loc) · 1.94 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.ssh.insert_key = false
config.vm.define "pipelines" do |pipelines|
pipelines.vm.box="shekeriev/centos-stream-9"
pipelines.vm.hostname = "pipelines.do1.exam"
pipelines.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1500"]
end
pipelines.vm.network "private_network", ip: "192.168.111.201"
pipelines.vm.provision "shell", path: "add-hosts.sh"
pipelines.vm.provision "shell", path: "jenkins-setup.sh"
pipelines.vm.provision "shell", path: "metricbeat-setup.sh"
end
config.vm.define "containers" do |containers|
containers.vm.box = "shekeriev/centos-stream-9"
containers.vm.hostname = "containers.do1.exam"
containers.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1500"]
end
containers.vm.network "private_network", ip: "192.168.111.202"
containers.vm.provision "shell", path: "add-hosts.sh"
containers.vm.provision "shell", path: "docker-setup.sh"
containers.vm.provision "shell", path: "docker-compose.sh"
containers.vm.provision "shell", path: "metricbeat-setup.sh"
containers.vm.provision "shell", path: "gitea-setup.sh"
containers.vm.provision "shell", path: "jenkins-setup.sh"
end
config.vm.define "monitoring" do |monitoring|
monitoring.vm.box = "shekeriev/centos-stream-9"
monitoring.vm.hostname = "monitoring.do1.exam"
monitoring.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1500"]
end
monitoring.vm.network "private_network", ip: "192.168.111.203"
monitoring.vm.provision "shell", path: "add-hosts.sh"
monitoring.vm.provision "shell", path: "elk-setup.sh"
end
end