forked from dockerizeme/dockerizeme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
35 lines (22 loc) · 713 Bytes
/
Copy pathVagrantfile
File metadata and controls
35 lines (22 loc) · 713 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
32
33
34
35
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Define DockerizeMe machine
config.vm.define :dockerizeeme do |machine|
# Use Ubuntu Xenial
machine.vm.box = 'ubuntu/xenial64'
machine.vm.box_version = '20181217.0.0'
# Set up private network for local access
machine.vm.network 'private_network', ip: '192.168.33.10'
# VirtualBox Config
machine.vm.provider :virtualbox do |virtualbox|
# Add memory (default is 1024)
virtualbox.memory = 2048
end
# Provision with Ansible
machine.vm.provision :ansible_local do |ansible|
ansible.playbook = 'vagrant.yml'
ansible.compatibility_mode = '2.0'
end
end
end