Skip to content

Instantly share code, notes, and snippets.

View marcdomain's full-sized avatar
🛠️
Automating Processes

Marcus Chukwuoma marcdomain

🛠️
Automating Processes
View GitHub Profile
@marcdomain
marcdomain / Vagrantfile-Multi-VM.rb
Last active March 21, 2020 09:20
Creating a network of multiple virtual machine with Vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "api-vm" do |api|
api.vm.hostname = "api-vm"
api.vm.box = "ubuntu/bionic64"
api.vm.network "private_network", ip: "10.0.0.10"
api.vm.network "forwarded_port", guest: 80, host: 5030