From 00617c93ce36f7e25d974b09bf38b15da5920a8b Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Fri, 10 Jan 2025 15:40:01 +0100 Subject: [PATCH] debug --- .docker/hosts/abiball.conf | 14 ++++++++++++++ .gitignore | 2 +- Dockerfile | 3 +++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .docker/hosts/abiball.conf diff --git a/.docker/hosts/abiball.conf b/.docker/hosts/abiball.conf new file mode 100644 index 0000000..022eb20 --- /dev/null +++ b/.docker/hosts/abiball.conf @@ -0,0 +1,14 @@ + + DocumentRoot /var/www/html/public + DirectoryIndex /index.php + + + AllowOverride All + + RewriteEngine On + + + + ErrorLog /var/log/apache2/project_error.log + CustomLog /var/log/apache2/project_access.log combined + \ No newline at end of file diff --git a/.gitignore b/.gitignore index a67f91e..008222e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ - +/.idea/ ###> symfony/framework-bundle ### /.env.local /.env.local.php diff --git a/Dockerfile b/Dockerfile index 8382afe..ae205c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,9 @@ COPY . /var/www/html/ RUN chown -R www-data:www-data /var/www/html +RUN rm /etc/apache2/sites-enabled/000-default.conf +COPY .docker/hosts/abiball.conf /etc/apache2/sites-enabled + RUN apt-get update \ && apt-get install -qq -y --no-install-recommends cron nano locales coreutils libicu-dev libpng-dev libxml2-dev libzip-dev libonig-dev libxslt-dev;