forked from flynn/flynn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
25 lines (20 loc) · 838 Bytes
/
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
# -*- 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|
config.vm.box = "flynn-base"
config.vm.box_url = "https://dl.flynn.io/vagrant/flynn-base.json"
config.vm.box_version = "> 0"
config.vm.network "private_network", ip: "192.168.84.42"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.provision "shell", privileged: false, inline: <<SCRIPT
sudo apt-get update -qq
sudo apt-get install -y flynn-host
sudo flynn-release download /etc/flynn/version.json
sudo start flynn-host
CONTROLLER_DOMAIN=demo.localflynn.com \
DEFAULT_ROUTE_DOMAIN=demo.localflynn.com \
flynn-bootstrap /etc/flynn/bootstrap-manifest.json 2>&1
SCRIPT
end