setup up deployment via docker image #1

Merged
csimonis merged 5 commits from setup/docker into main 2025-01-10 14:49:08 +00:00
3 changed files with 18 additions and 1 deletions
Showing only changes of commit 00617c93ce - Show all commits

View File

@ -0,0 +1,14 @@
<VirtualHost *:80>
DocumentRoot /var/www/html/public
DirectoryIndex /index.php
<Directory /var/www/html/public>
AllowOverride All
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
</Directory>
ErrorLog /var/log/apache2/project_error.log
CustomLog /var/log/apache2/project_access.log combined
</VirtualHost>

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
/.idea/
###> symfony/framework-bundle ###
/.env.local
/.env.local.php

View File

@ -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;