Commit 20ee8710 authored by Arnaud Bey's avatar Arnaud Bey

docker update

parent 4f7e8762
......@@ -8,7 +8,7 @@
###> docker mysql folder ###
/.db/
/.logs/
###> symfony/framework-bundle ###
/application/.bash_history
......
......@@ -7,10 +7,9 @@ services:
expose:
- "80"
restart: always
#Le dossier application de la machine hote est mappé avec /var/www du container
volumes:
- ./application:/var/www
- ./docker-files/override.ini:/etc/php/7.2/apache2/conf.d/php.ini
- ./docker-files/override.ini:/etc/php/7.4/apache2/conf.d/php.ini
links:
- db:db
db:
......
FROM ubuntu:18.04
FROM ubuntu:20.04
MAINTAINER Sylvain Hatier & Arnaud Bey
MAINTAINER Arnaud Bey
RUN apt-get -qqq update && DEBIAN_FRONTEND=noninteractive apt-get install -qqq -y \
apt-utils \
......@@ -12,25 +12,23 @@ RUN apt-get -qqq update && DEBIAN_FRONTEND=noninteractive apt-get install -qqq -
gdebi \
apache2 \
openssl \
python2.7 \
python-pip \
php7.2 \
libapache2-mod-php7.2 \
php7.2-bcmath \
php7.2-cli \
php7.2-common \
php7.2-curl \
php7.2-dev \
php7.2-fpm \
php7.2-intl \
php7.2-json \
php7.2-mbstring \
php7.2-mysql \
php7.2-opcache \
php7.2-readline \
php7.2-xml \
php7.2-zip \
php7.2-gd \
php7.4 \
libapache2-mod-php7.4 \
php7.4-bcmath \
php7.4-cli \
php7.4-common \
php7.4-curl \
php7.4-dev \
php7.4-fpm \
php7.4-intl \
php7.4-json \
php7.4-mbstring \
php7.4-mysql \
php7.4-opcache \
php7.4-readline \
php7.4-xml \
php7.4-zip \
php7.4-gd \
php-common \
php-imagick
......
short_open_tag = On
error_reporting = E_ALL & ~E_NOTICE
allow_url_fopen = On
date.timezone = "Europe/Paris"
display_errors = Off
error_reporting = E_ALL & ~E_NOTICE
max_execution_time = 600
memory_limit = 1024M
post_max_size = 1024M
upload_max_filesize = 5G
;might be unsufficient
max_file_uploads = 200
allow_url_fopen = On
date.timezone = "Europe/Paris"
memory_limit = 1024M
post_max_size = 128M
short_open_tag = On
upload_max_filesize = 128M
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment