This commit is contained in:
2021-03-23 09:55:49 +01:00
commit 59f7ffb48a
4 changed files with 35 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# Docker Wordpress
Docker image for my wordpress instances.
+22
View File
@@ -0,0 +1,22 @@
version: "3.7"
x-default: &default
restart: unless-stopped
env_file: .env
services:
home:
<<: *default
image: cupcakearmy/wordpress
ports:
- 80:80
volumes:
- ./data/home:/var/www/html
depends_on:
- db
db:
<<: *default
image: mariadb:10
volumes:
- ./data/db:/var/lib/mysql
+5
View File
@@ -0,0 +1,5 @@
FROM wordpress:5-apache
RUN a2enmod headers
COPY ./uploads.ini /usr/local/etc/php/conf.d/uploads.ini
+5
View File
@@ -0,0 +1,5 @@
file_uploads = On
memory_limit = 5G
upload_max_filesize = 5G
post_max_size = 5G
max_execution_time = 300