-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
31 lines (26 loc) · 828 Bytes
/
Vagrantfile
File metadata and controls
31 lines (26 loc) · 828 Bytes
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = 'ubuntu/bionic64'
config.vm.define 'amber-apps-box'
# Port forwarding
[
3000 # Amber
].each do |port|
config.vm.network "forwarded_port", guest: port, host: port
end
# Provider-specific configuration
config.vm.provider 'virtualbox' do |vb|
vb.customize ['modifyvm', :id, '--memory', '1024']
end
# If you are using Windows o Linux with an encrypted volume
config.vm.synced_folder '.', '/vagrant', type: 'virtualbox'
# Main scripts for installing software and configuration
config.vm.provision "shell", privileged: false, run: "once",
path: "provision/box_setup.sh",
env: {
"LC_ALL" => "en_US.UTF-8",
"LANG" => "en_US.UTF-8",
"LANGUAGE" => "en_US.UTF-8",
}
end