dev/Vagrantfile
changeset 529 5d9eacbd5794
parent 491 e9e436a588b2
equal deleted inserted replaced
528:aa4fc985bf64 529:5d9eacbd5794
    27 
    27 
    28   # Create a private network, which allows host-only access to the machine
    28   # Create a private network, which allows host-only access to the machine
    29   # using a specific IP.
    29   # using a specific IP.
    30   # config.vm.network "private_network", ip: "192.168.33.10"
    30   # config.vm.network "private_network", ip: "192.168.33.10"
    31   config.vm.network :private_network, ip: (ENV['VM_IP'] || context['vm_ip'] || "172.16.1.6")
    31   config.vm.network :private_network, ip: (ENV['VM_IP'] || context['vm_ip'] || "172.16.1.6")
       
    32 #  config.vm.network :private_network, ip: (ENV['VM_IP'] || context['vm_ip'] || "172.16.1.6"), virtualbox__intnet: true, adapter: "1"
       
    33 #  config.vm.network :private_network, ip: (ENV['VM_IP'] || context['vm_ip'] || "172.16.1.6"), virtualbox__intnet: true
    32 
    34 
    33   # Create a forwarded port mapping which allows access to a specific port
    35   # Create a forwarded port mapping which allows access to a specific port
    34   # within the machine from a port on the host machine. In the example below,
    36   # within the machine from a port on the host machine. In the example below,
    35   # accessing "localhost:8080" will access port 80 on the guest machine.
    37   # accessing "localhost:8080" will access port 80 on the guest machine.
    36   # config.vm.network "forwarded_port", guest: 80, host: 8080
    38   # config.vm.network "forwarded_port", guest: 80, host: 8080
    37   default_ports = {
    39   default_ports = {
    38     80   => 40000,
    40     80   => 40000,
       
    41     22   => 22220,
    39     443  => 44300,
    42     443  => 44300,
    40     3306 => 33060,
    43     3306 => 33060,
    41     5432 => 54320,
    44     5432 => 54320,
    42     8080 => 40400,
    45     8080 => 40400,
    43   }
    46   }