You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Vagrantfile 3.0KB

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