Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there)
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 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. server_ip = "192.168.22.10"
  2. server_memory = "2048" # MB
  3. server_timezone = "UTC"
  4. public_folder = "/vagrant"
  5. Vagrant.configure(2) do |config|
  6. # Set server to Ubuntu 16.04
  7. config.vm.box = "ubuntu/xenial64"
  8. # Disable automatic box update checking. If you disable this, then
  9. # boxes will only be checked for updates when the user runs
  10. # `vagrant box outdated`. This is not recommended.
  11. config.vm.box_check_update = true
  12. # Create a hostname, don't forget to put it to the `hosts` file
  13. # This will point to the server's default virtual host
  14. # TO DO: Make this work with virtualhost along-side xip.io URL
  15. config.vm.hostname = "friendica.local"
  16. # Create a static IP
  17. config.vm.network :private_network, ip: server_ip
  18. # Share a folder between host and guest
  19. # config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", owner: "www-data", group: "vagrant"
  20. config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", owner: "www-data", group: "www-data"
  21. # Provider-specific configuration so you can fine-tune various
  22. # backing providers for Vagrant. These expose provider-specific options.
  23. config.vm.provider "virtualbox" do |vb|
  24. # # Display the VirtualBox GUI when booting the machine
  25. # vb.gui = true
  26. #
  27. # # Customize the amount of memory on the VM:
  28. vb.memory = server_memory
  29. end
  30. # Enable provisioning with a shell script.
  31. config.vm.provision "shell", path: "./bin/dev/vagrant_provision.sh"
  32. # run: "always"
  33. # run: "once"
  34. end