{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "Discover Docker, K8s and Hashicorp Nomad with Maksym Prokopov: posts tagged wordpress",
    "_rss_description": "The blog about containerisation, virtual machines and useful shell snippets and findings",
    "_rss_language": "en",
    "_itunes_email": "",
    "_itunes_categories_xml": "",
    "_itunes_image": "",
    "_itunes_explicit": "",
    "home_page_url": "https:\/\/blog.it-premium.com.ua\/tags\/wordpress\/",
    "feed_url": "https:\/\/blog.it-premium.com.ua\/tags\/wordpress\/json\/",
    "icon": false,
    "authors": [
        {
            "name": "Maksym Prokopov",
            "url": "https:\/\/blog.it-premium.com.ua\/",
            "avatar": false
        }
    ],
    "items": [
        {
            "id": "94",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/docker-wordpress-php-ini-upload-max-size\/",
            "title": "Docker wordpress php.ini upload_max_size",
            "content_html": "<p>A) Add the following 2 lines to your wordpress Dockerfile:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">RUN touch \/usr\/local\/etc\/php\/conf.d\/uploads.ini \\\n    &amp;&amp; echo &quot;upload_max_filesize = 10M;&quot; &gt;&gt; \/usr\/local\/etc\/php\/conf.d\/uploads.ini<\/code><\/pre><p>However, on the docker registry page they recommend adding a custom php.ini to \/usr\/local\/lib.<\/p>\n<p>B) Set the limits with your .htaccess file thats in your wordpress data directory.<br \/>\nIn my case I have this directory under version control anyways, as would most.<br \/>\nThe bottom 2 lines are what I added to my .htaccess on a brand new wordpress install via docker:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">RewriteEngine On\nRewriteBase \/\nRewriteRule ^index\\.php$ - [L]\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule . \/index.php [L]\n\nphp_value post_max_size 24M\nphp_value upload_max_filesize 8M<\/code><\/pre>",
            "date_published": "2016-01-14T14:46:44+01:00",
            "date_modified": "2016-01-14T14:47:06+01:00",
            "tags": [
                "docker",
                "wordpress"
            ],
            "_date_published_rfc2822": "Thu, 14 Jan 2016 14:46:44 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "94",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "79",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/ustanovka-wordpress-cherez-docker\/",
            "title": "Установка wordpress через docker",
            "content_html": "<p>Проще пареной репы<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">wordpress:\n  image: wordpress\n  links:\n    - db:mysql\n  ports:\n    - 8080:80\n\ndb:\n  image: mysql:5\n  environment:\n    MYSQL_ROOT_PASSWORD: example<\/code><\/pre><p>только затем лучше руками пофиксить лимиты<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">docker exec -it XXX bash<\/code><\/pre><pre class=\"e2-text-code\"><code class=\"\">printf &quot;\\nphp_value post_max_size 64M\\nphp_value upload_max_filesize 64M\\n&quot; &gt;&gt; .htaccess<\/code><\/pre><p>перестартуем контейнеры и вуаля!<\/p>\n",
            "date_published": "2015-12-21T16:04:27+01:00",
            "date_modified": "2015-12-22T10:24:40+01:00",
            "tags": [
                "docker",
                "wordpress"
            ],
            "_date_published_rfc2822": "Mon, 21 Dec 2015 16:04:27 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "79",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        }
    ],
    "_e2_version": 4134,
    "_e2_ua_string": "Aegea 11.3 (v4134)"
}