28 lines
725 B
Ruby
28 lines
725 B
Ruby
# -*- mode: ruby; -*-
|
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
# live machine runs Debian 10 Buster
|
|
config.vm.box = "debian/buster64"
|
|
|
|
# live machine runs Ubuntu 20.04 Focal Fossa
|
|
#config.vm.box = "ubuntu/focal64"
|
|
|
|
# this may be necessary for big data import tasks. you can raise or lower
|
|
# it, or comment out if you find that you don't need it
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.memory = 4096
|
|
end
|
|
|
|
# Theo app
|
|
config.vm.network "forwarded_port", guest: 7000, host: 7000
|
|
|
|
# Theo (stage) app
|
|
config.vm.network "forwarded_port", guest: 7010, host: 7010
|
|
|
|
# # apache
|
|
# config.vm.network "forwarded_port", guest: 80, host: 7080
|
|
# config.vm.network "forwarded_port", guest: 443, host: 7443
|
|
|
|
end
|