diff --git a/docker-compose.yml b/docker-compose.yml index c47e235..9c8939a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,7 +17,7 @@ services: wordpress: depends_on: - db - image: wordpress:6.4 + build: wordpress/ ports: - "${WORDPRESS_PORT:-8000}:80" restart: always diff --git a/wordpress/Dockerfile b/wordpress/Dockerfile new file mode 100644 index 0000000..3fa8ba4 --- /dev/null +++ b/wordpress/Dockerfile @@ -0,0 +1,3 @@ +FROM wordpress:6.4 + +COPY php.ini "${PHP_INI_DIR}/conf.d/" diff --git a/wordpress/php.ini b/wordpress/php.ini new file mode 100644 index 0000000..a9d98df --- /dev/null +++ b/wordpress/php.ini @@ -0,0 +1 @@ +upload_max_filesize=42M \ No newline at end of file