-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
38 lines (32 loc) · 1.24 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "bento/ubuntu-16.04"
config.vm.provider "virtualbox" do |v|
# Change this to the name of your project.
v.name = "drifter"
v.memory = 1024 * 8
v.cpus = 4
v.customize ["modifyvm", :id, "--vram", "256"]
end
config.vm.provision "ansible" do |p|
p.playbook = "playbook.yml"
p.extra_vars = { ruby_version: "2.3.3",
pg_version: "9.6",
postgis: false }
# By default install a pre-built phantomjs binary. To build from
# source change this value to "phantomjs2"
# Comma separated list:
# p.skip_tags = %w[heroku]
# p.tags = ["postgresql", "chrony"]
end
# Forward postgres and web server ports to the host.
# config.vm.network "forwarded_port", guest: 5432, host: 5432
# config.vm.network "forwarded_port", guest: 3000, host: 3000
# config.vm.network "private_network", type: "dhcp"
# Sharing folders over NFS generally has the best performance. See
# https://docs.vagrantup.com/v2/synced-folders/nfs.html for a
# sudoers recipe that allows vagrant to setup the NFS share without
# prompting for a password.
# config.vm.synced_folder ".", "/vagrant", type: "nfs"
end