Changed IP from 192.168.50.100 to 192.168.56.100

This commit is contained in:
Tim Zandbergen 2021-12-27 23:56:35 +01:00
parent 460db614f8
commit b18c4d2855
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
3 changed files with 78 additions and 78 deletions

2
Vagrantfile vendored
View File

@ -8,7 +8,7 @@ Vagrant.configure("2") do |config|
config.vm.hostname = "phpservermon-dev"
config.vm.box = "bento/ubuntu-20.04"
config.vm.box_check_update = false
config.vm.network "private_network", ip: "192.168.50.100"
config.vm.network "private_network", ip: "192.168.56.100"
config.vm.provision :ansible do |ansible|
ansible.limit = "all"
ansible.playbook = "provision.yaml"

View File

@ -4,7 +4,7 @@ upstream php-fpm {
server {
listen 80;
server_name 192.168.50.100;
server_name 192.168.56.100;
root /vagrant;
index index.php;

View File

@ -51,13 +51,13 @@ If you are not familiar with Vagrant, have a look at https://www.vagrantup.com/
To ease development, a Vagrantfile has been included along with a full provisioning profile generated using ansible.
The Vagrantfile is configured to set up a Ubuntu 20.04 box with PHP 7.4 (FPM) and MySQL installed, with a dedicated private IP for accessing the dev environment(http://192.168.50.100).
The Vagrantfile is configured to set up a Ubuntu 20.04 box with PHP 7.4 (FPM) and MySQL installed, with a dedicated private IP for accessing the dev environment(http://192.168.56.100).
To set up the development environment, make sure you have Vagrant, Ansible and VirtualBox (https://www.virtualbox.org/) installed, then run::
vagrant up
The initial setup may take some time as the virtual machine needs to be provisioned.
After that, you can access your development environment by navigating to http://192.168.50.100/.
After that, you can access your development environment by navigating to http://192.168.56.100/.
The config.php file has been created automatically, but the first time you do need to run through the install wizard.
Code