-
Notifications
You must be signed in to change notification settings - Fork 0
/
vagrant.yml
40 lines (36 loc) · 840 Bytes
/
vagrant.yml
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
39
40
# -*- mode: yaml -*-
# vi: set ft=yaml sw=2 :
#
# Title: vagrant.yml
# Description: Main configuration file for Vagrant-based
# development environment
# Developer: ddnomad
# Version: 1.0.2
---
vagrant:
base_box: debian/stretch64
vc_version: 2
plugins: [ 'vagrant-vbguest' ]
# Virtualbox properties
virtualbox:
name: vagrant_arachnid42_web-project-base_debian9
cpus: 2
cpu_cap: 100
ram: 4096
# Ansible provisioning properties
ansible:
compat_mode: '2.0'
install_mode: 'pip'
base_path: /vagrant/xopos/ansible
playbook: vagrant.yml
config: ansible.cfg
# execute command for each SSH session
ssh:
path: /etc/profile.d/exec_on_ssh.sh
cmds:
- cd /vagrant
# what ports to forward to host
# <guest_port>: <to_host_port>
forward:
8080: 8080 # flask
9000: 9000 # webpack dev server