mirror of
https://github.com/cupcakearmy/docker-wordpress.git
synced 2024-12-22 08:16:31 +00:00
build
This commit is contained in:
commit
59f7ffb48a
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Docker Wordpress
|
||||
|
||||
Docker image for my wordpress instances.
|
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal 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
5
docker/Dockerfile
Normal 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
5
docker/uploads.ini
Normal file
@ -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
Block a user