Change Dockerfile to copy php.ini
This commit is contained in:
parent
69a2b5bf87
commit
5bfce8a971
|
|
@ -22,8 +22,10 @@ RUN a2enmod rewrite
|
|||
RUN a2enmod headers
|
||||
|
||||
# Update the PHP.ini file, enable <? ?> tags and quieten logging.
|
||||
RUN sed -i "s/short_open_tag = Off/short_open_tag = On/" /etc/php5/apache2/php.ini
|
||||
RUN sed -i "s/error_reporting = .*$/error_reporting = E_ERROR | E_WARNING | E_PARSE/" /etc/php5/apache2/php.ini
|
||||
# RUN sed -i "s/short_open_tag = Off/short_open_tag = On/" /etc/php5/apache2/php.ini
|
||||
#RUN sed -i "s/error_reporting = .*$/error_reporting = E_ERROR | E_WARNING | E_PARSE/" /etc/php5/apache2/php.ini
|
||||
|
||||
ADD conf/php.ini /etc/php5/apache2.php.ini
|
||||
|
||||
# Manually set up the apache environment variables
|
||||
ENV APACHE_RUN_USER www-data
|
||||
|
|
|
|||
11
MIGRATION.md
11
MIGRATION.md
|
|
@ -6,3 +6,14 @@ MariaDB [(none)]> CREATE USER 'cmc'@'172.17.0.2' IDENTIFIED BY 'somepass';
|
|||
Query OK, 0 rows affected (0.00 sec)
|
||||
|
||||
MariaDB [(none)]> GRANT ALL PRIVILEGES ON cmc.* TO 'cmc'@'172.17.0.2';
|
||||
|
||||
|
||||
www-data@helios:~$ du -hcs vaultmsgs
|
||||
64G vaultmsgs
|
||||
64G total
|
||||
www-data@helios:~$ du -hcs emails
|
||||
192G emails
|
||||
192G total
|
||||
www-data@helios:~$
|
||||
|
||||
|
||||
|
|
|
|||
1853
conf/php.ini
Normal file
1853
conf/php.ini
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue