build
This commit is contained in:
commit
59f7ffb48a
|
@ -0,0 +1,3 @@
|
|||
# Docker Wordpress
|
||||
|
||||
Docker image for my wordpress instances.
|
|
@ -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
|
|
@ -0,0 +1,5 @@
|
|||
FROM wordpress:5-apache
|
||||
|
||||
RUN a2enmod headers
|
||||
|
||||
COPY ./uploads.ini /usr/local/etc/php/conf.d/uploads.ini
|
|
@ -0,0 +1,5 @@
|
|||
file_uploads = On
|
||||
memory_limit = 5G
|
||||
upload_max_filesize = 5G
|
||||
post_max_size = 5G
|
||||
max_execution_time = 300
|
Loading…
Reference in New Issue