Browse Source

add /var/log/mwf2b in mediawiki container

main
Charles Reid 5 years ago
parent
commit
9876f43eff
  1. 5
      Dockerfile

5
Dockerfile

@ -47,6 +47,11 @@ COPY charlesreid1-config/mediawiki/LocalSettings.php /var/www/html/LocalSettings @@ -47,6 +47,11 @@ COPY charlesreid1-config/mediawiki/LocalSettings.php /var/www/html/LocalSettings
RUN chown -R www-data:www-data /var/www/html/LocalSettings*
RUN chmod 600 /var/www/html/LocalSettings.php
# MediaWiki Fail2ban log directory
CMD mkdir -p /var/log/mwf2b
RUN chown -R www-data:www-data /var/log/mwf2b
RUN chmod 700 /var/log/mwf2b
# Apache conf file
COPY charlesreid1-config/apache/*.conf /etc/apache2/sites-enabled/
RUN a2enmod rewrite

Loading…
Cancel
Save