mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 14:00:17 +02:00
Added lines to try and get posrgresql installed for testing. Changed the required version of django back to 1.6.5 because 1.7.0 should not be in production.
35 lines
1.2 KiB
Ruby
35 lines
1.2 KiB
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
|
|
VAGRANTFILE_API_VERSION = "2"
|
|
|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
# All Vagrant configuration is done here. The most common configuration
|
|
# options are documented and commented below. For a complete reference,
|
|
# please see the online documentation at vagrantup.com.
|
|
|
|
config.vm.box = "ubuntu/precise32"
|
|
|
|
# Note: if it complains about guest extension versions, you can manually install them
|
|
# because each VirtualBox installation has the capability of mounting an ISO virtual
|
|
# CD to install its guest extension from.
|
|
|
|
# Create a forwarded port mapping which allows access to a specific port
|
|
# within the machine from a port on the host machine.
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.memory = 1024
|
|
v.cpus = 2
|
|
end
|
|
|
|
config.vm.network :forwarded_port, guest: 3306, host: 3306
|
|
config.vm.network :forwarded_port, guest: 9090, host: 9090
|
|
config.vm.network :forwarded_port, guest: 8000, host: 8000
|
|
|
|
config.vm.synced_folder ".", "/vagrant", disabled: true
|
|
config.vm.synced_folder "../", "/vagrant"
|
|
|
|
config.vm.provision :shell, :path => "bootstrap.sh"
|
|
|
|
end
|