The hypernode-vagrant development environment now has the capability to assign custom forwarded ports through the project settings.
For example, if you wanted to forward 80 in the guest to 8082 on the host, and 3306 in the guest to 33062 on the host your local.xml
could look something like this:
---
ports:
- send: 8082
to: 80
- send: 33062
to: 3306
fs:
folders:
magento2:
host: data/web/magento2
guest: "/data/web/magento2"
nginx:
host: data/web/nginx/
guest: "/data/web/nginx/"
type: nfs
disabled_folders:
magento1:
host: data/web/public
guest: "/data/web/public"
hostmanager:
extra-aliases:
- my-custom-store-url1.local
- my-custom-store-url2.local
default_domain: hypernode.local
magento:
version: 2
php:
version: 7.0
varnish:
state: false
firewall:
state: false
cgroup:
state: false
xdebug:
state: false
vagrant:
box: hypernode_xenial
box_url: http://vagrant.hypernode.com/customer/xenial/catalog.json
ubuntu_version: xenial
Previously the port forwarding was only specified for the VirtualBox Vagrant provider. Now it has been moved out of the VirtualBox block so it is applied as well when an LXC container is used.
Again thanks to pauluse from Made by Mouses for reporting this issue and implementing this change and this other change that also makes it possible to specify the memory limit of the Vagrant box from the project settings.