This commit is contained in:
cupcakearmy 2021-03-23 09:55:49 +01:00
commit 59f7ffb48a
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
4 changed files with 35 additions and 0 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# Docker Wordpress
Docker image for my wordpress instances.

22
docker-compose.yml Normal file
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
docker/Dockerfile Normal file
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
docker/uploads.ini Normal file
View File

@ -0,0 +1,5 @@
file_uploads = On
memory_limit = 5G
upload_max_filesize = 5G
post_max_size = 5G
max_execution_time = 300