change IP of Vagrant VM

pull/12000/head
Tobias Diekershoff 2 months ago
parent f862d73f49
commit 49ed627aed
  1. 2
      Vagrantfile
  2. 2
      bin/dev/vagrant_provision.sh
  3. 2
      mods/local.config.vagrant.php

2
Vagrantfile vendored

@ -1,5 +1,5 @@
server_ip = "192.168.22.10"
server_ip = "192.168.56.10"
server_memory = "2048" # MB
server_timezone = "UTC"

@ -45,7 +45,7 @@ apt-get install -qq apache2
a2enmod rewrite actions ssl
cp /vagrant/bin/dev/vagrant_vhost.sh /usr/local/bin/vhost
chmod guo+x /usr/local/bin/vhost
vhost -s 192.168.22.10.xip.io -d /var/www -p /etc/ssl/xip.io -c xip.io -a friendica.local
vhost -s 192.168.56.10.xip.io -d /var/www -p /etc/ssl/xip.io -c xip.io -a friendica.local
a2dissite 000-default
service apache2 restart

@ -29,7 +29,7 @@ return [
// ****************************************************************
'config' => [
'hostname' => 'friendica.local',
'hostname' => '192.168.56.10',
'admin_email' => 'admin@friendica.local',
'sitename' => 'Friendica Social Network',
'register_policy' => \Friendica\Module\Register::OPEN,

Loading…
Cancel
Save