Skip to content

Commit f3ebc46

Browse files
committed
Upped upload limit to 50M. Set default timezone on UTC
1 parent 5814b63 commit f3ebc46

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Wordpress container with Nginx 1.10 & PHP-FPM 7.0 based on Alpine Linux.
1010
* Small Docker image size (+/-45MB)
1111
* Uses PHP 7.0 for better performance, lower cpu usage & memory footprint
1212
* Can safely be updated without loosing data
13+
* Fully configurable because wp-config.php uses the environment variables you can pass as a argument to the container
1314

1415
[![Docker Pulls](https://img.shields.io/docker/pulls/trafex/wordpress.svg)](https://hub.docker.com/r/trafex/wordpress/)
1516

config/php.ini

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1+
; Redirect errors to the container stderr
12
error_log = "/dev/stderr"
23

3-
; Make sure _ENV is populated
4+
; Make sure _ENV is populated to use it in wp-config.php
45
variables_order = "EGPCS"
56

6-
; Hide PHP version info in headers
7+
; Hide PHP version info in response headers
78
expose_php = Off
89

10+
; Up the upload limit
11+
post_max_size = 50M
12+
upload_max_filesize = 50M
13+
914
[Date]
10-
date.timezone = "Europe/Amsterdam"
15+
; Set default timezone, you can configure the timezone in Wordpress
16+
date.timezone = "UTC"

0 commit comments

Comments
 (0)