Skip to content
Snippets Groups Projects
Verified Commit 02d36ebb authored by David Beniamine's avatar David Beniamine
Browse files

Add configs for fail2ban and upload

parent 6903437b
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,8 @@ version: "3.0" ...@@ -3,7 +3,8 @@ version: "3.0"
services: services:
wordpress: wordpress:
image: wordpress:php8.1 build:
context: docker/
restart: always restart: always
environment: environment:
TZ: ${TZ} TZ: ${TZ}
......
FROM wordpress:php8.1
RUN apt-get update && apt-get install -y rsyslog
RUN sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
COPY custom.ini $PHP_INI_DIR/conf.d/
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
upload_max_filesize=3G
post_max_size=3G
#!/bin/bash
/usr/sbin/rsyslogd -n -iNONE &
/usr/local/bin/docker-entrypoint.sh apache2-foreground $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment