Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3.  
  4. # All Vagrant configuration is done below. The "2" in Vagrant.configure
  5. # configures the configuration version (we support older styles for
  6. # backwards compatibility). Please don't change it unless you know what
  7. # you're doing.
  8. Vagrant.configure(2) do |config|
  9. # The most common configuration options are documented and commented below.
  10. # For a complete reference, please see the online documentation at
  11. # https://docs.vagrantup.com.
  12.  
  13. # Every Vagrant development environment requires a box. You can search for
  14. # boxes at https://atlas.hashicorp.com/search.
  15. config.vm.box = "ubuntu/trusty32"
  16. # Disable automatic box update checking. If you disable this, then
  17. # boxes will only be checked for updates when the user runs
  18. # `vagrant box outdated`. This is not recommended.
  19. # config.vm.box_check_update = false
  20.  
  21. # Create a forwarded port mapping which allows access to a specific port
  22. # within the machine from a port on the host machine. In the example below,
  23. # accessing "localhost:8080" will access port 80 on the guest machine.
  24. config.vm.network "forwarded_port", guest: 3000, host: 3000
  25.  
  26. # Create a private network, which allows host-only access to the machine
  27. # using a specific IP.
  28. config.vm.network "private_network", ip: "192.168.33.11"
  29.  
  30. # Create a public network, which generally matched to bridged network.
  31. # Bridged networks make the machine appear as another physical device on
  32. # your network.
  33. # config.vm.network "public_network"
  34.  
  35. # Share an additional folder to the guest VM. The first argument is
  36. # the path on the host to the actual folder. The second argument is
  37. # the path on the guest to mount the folder. And the optional third
  38. # argument is a set of non-required options.
  39. # config.vm.synced_folder "./", "/home/vagrant"
  40.  
  41. # Provider-specific configuration so you can fine-tune various
  42. # backing providers for Vagrant. These expose provider-specific options.
  43. # Example for VirtualBox:
  44. #
  45. # config.vm.provider "virtualbox" do |vb|
  46. # # Display the VirtualBox GUI when booting the machine
  47. # vb.gui = true
  48. #
  49. # # Customize the amount of memory on the VM:
  50. # vb.memory = "1024"
  51. # end
  52. #
  53. # View the documentation for the provider you are using for more
  54. # information on available options.
  55.  
  56. # Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
  57. # such as FTP and Heroku are also available. See the documentation at
  58. # https://docs.vagrantup.com/v2/push/atlas.html for more information.
  59. # config.push.define "atlas" do |push|
  60. # push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
  61. # end
  62.  
  63. # Enable provisioning with a shell script. Additional provisioners such as
  64. # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
  65. # documentation for more information about their specific syntax and use.
  66.  
  67. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement