From 0b3efc477fd3eec7bc40d5f623f27b86b138d84b Mon Sep 17 00:00:00 2001 From: Andrei Andrade Date: Mon, 12 Apr 2021 19:01:47 +0100 Subject: [PATCH] Update folder app --- README.md | 4 ++-- bin/webserver/Dockerfile | 2 +- config/vhosts/default.conf | 10 +++++----- www/{app1 => app}/index.php | 0 4 files changed, 8 insertions(+), 8 deletions(-) rename www/{app1 => app}/index.php (100%) diff --git a/README.md b/README.md index 58ccf48..c5d8cd3 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ git fetch --all docker-compose up -d --build ``` -You can access your LAMP stack via `http://localhost` or `http://app1.local` +You can access your LAMP stack via `http://localhost` or `http://app.local` > You need to modify your hosts file. [How to Edit the Hosts File?](https://gist.github.com/andreipa/47ce0679d1905883c18b9ac3a1a9a8f6) @@ -105,7 +105,7 @@ By default following extensions are installed. - imagick-3.4.4 - mysqli - pdo_sqlite -- xdebug-3.0.3 +- xdebug-3.0.4 - xml - zip diff --git a/bin/webserver/Dockerfile b/bin/webserver/Dockerfile index 502fd56..bb99f6c 100644 --- a/bin/webserver/Dockerfile +++ b/bin/webserver/Dockerfile @@ -38,7 +38,7 @@ RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf # PECL Extensions xdebug | imagick RUN apt-get update && apt-get install -y \ libmagickwand-dev --no-install-recommends \ - && pecl install xdebug-3.0.3 \ + && pecl install xdebug-3.0.4 \ && pecl install imagick-3.4.4 \ && docker-php-ext-enable xdebug imagick diff --git a/config/vhosts/default.conf b/config/vhosts/default.conf index 9677c10..1e5afd5 100644 --- a/config/vhosts/default.conf +++ b/config/vhosts/default.conf @@ -8,11 +8,11 @@ - ServerAdmin webmaster@app1.local - ServerName app1.local - ServerAlias www.app1.local - DocumentRoot "/var/www/html/app1/" - + ServerAdmin webmaster@app.local + ServerName app.local + ServerAlias www.app.local + DocumentRoot "/var/www/html/app/" + AllowOverride all \ No newline at end of file diff --git a/www/app1/index.php b/www/app/index.php similarity index 100% rename from www/app1/index.php rename to www/app/index.php