Added forwarding Mysql port 3306 from VM to host machine.

pull/202/head
Ruslan Baidan 2019-08-23 08:16:04 +02:00
parent 45dfa54fef
commit 05ceed1ca0
No known key found for this signature in database
GPG Key ID: C05FE270DE4439FD
1 changed files with 1 additions and 0 deletions

1
vagrant/Vagrantfile vendored
View File

@ -22,6 +22,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
config.vm.network :forwarded_port, guest: 80, host: 5001
config.vm.network :forwarded_port, guest: 3306, host: 3306
# Create a private network, which allows host-only access to the machine
# using a specific IP.