Last active
January 26, 2018 14:56
-
-
Save vaughany/178d28da851f2e086e6bc791a84acf76 to your computer and use it in GitHub Desktop.
Vagrantfile for a basic ubuntu 16.04 LTS setup (initially configured for Redis)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Vagrant.configure("2") do |config| | |
| config.vm.box = "ubuntu/xenial64" | |
| config.vm.box_check_update = true | |
| config.vm.define "redis", primary: true do |web| | |
| config.vm.network "forwarded_port", guest: 6379, host: 6379 | |
| config.vm.network "private_network", ip: "10.10.10.10" | |
| # config.vm.synced_folder "../data", "/vagrant_data" | |
| config.vm.provider "virtualbox" do |vb| | |
| vb.gui = false | |
| vb.memory = 1024 | |
| vb.cpus = 1 | |
| # vb.customize ["modifyvm", :id, "--cpuexecutioncap", "50"] | |
| end | |
| # config.vm.provision "shell", inline: <<-SHELL | |
| # apt-get update | |
| # apt-get install -y apache2 | |
| # SHELL | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment