Scripting

Notes on dockerization.

WordPress kind of sucks with permissions and updating, within docker. Hopefully a clean install sorts it out.

Increase WP file size limts via htaccess

<code>php_value upload_max_filesize 64M</code><br><code>php_value post_max_size 64M</code><br><code>php_value max_execution_time 300</code><br><code>php_value max_input_time 300</code>

Also this change

file_uploads = On
memory_limit = 500M
upload_max_filesize = 500M
post_max_size = 500M
max_execution_time = 600

View this volume in compose

    volumes:      
- ${CONFIG}/wp_danad:/var/www/html      
- ${CONFIG}/wp_ini/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini