Skip to content

Instantly share code, notes, and snippets.

@M3nin0
Created September 1, 2021 18:21
Show Gist options
  • Save M3nin0/bce1baaa7f742b0942acf23a02310943 to your computer and use it in GitHub Desktop.
Save M3nin0/bce1baaa7f742b0942acf23a02310943 to your computer and use it in GitHub Desktop.
ResearchProcessing Vagrantfile
Vagrant.configure("2") do |config|
# Hardware
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ["modifyvm", :id, "--memory", "4096"]
vb.customize ["modifyvm", :id, "--cpus", "4"]
end
config.vm.box = "ubuntu/focal64"
config.vm.box_check_update = false
config.vm.network "forwarded_port", guest: 3000, host: 3000
config.vm.network "forwarded_port", guest: 8888, host: 8888
# Install Docker
config.vm.provision :docker
# Install Docker-compose (Via plugin)
config.vm.provision :docker_compose
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment