{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "Discover Docker, K8s and Hashicorp Nomad with Maksym Prokopov: posts tagged ngix-proxy",
    "_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\/ngix-proxy\/",
    "feed_url": "https:\/\/blog.it-premium.com.ua\/tags\/ngix-proxy\/json\/",
    "icon": false,
    "authors": [
        {
            "name": "Maksym Prokopov",
            "url": "https:\/\/blog.it-premium.com.ua\/",
            "avatar": false
        }
    ],
    "items": [
        {
            "id": "190",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/docker-compose-nginx-proxy-container-and-networking\/",
            "title": "docker-compose, nginx-proxy container and networking",
            "content_html": "<p>Well, this issue was my pain in the ass until I fully understood what was going on with nginx-proxy container and docker-compose v2.<\/p>\n<p>When you have <b>docker-compose.yml<\/b> with separate frontend network you need to connect this network to nginx-proxy container in order to work. Obviously, there is <b>no frontend network<\/b> until you up your containers for the first time!<br \/>\nWhen you do<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">docker-compose up<\/code><\/pre><p>network will be created, but nginx-proxy will not be attached to it! So you need to shut down your app containers, do<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">docker network connect itservice_frontend-tier nginx-proxy<\/code><\/pre><p>and then to fire your containers up again! But wait, you need to restart nginx-proxy container to connect to this new network!<\/p>\n<p>As you can see this process can not be single step deployment solution on CoreOS, but now you know why and how to fix this.<\/p>\n",
            "date_published": "2017-12-04T11:54:50+01:00",
            "date_modified": "2017-12-04T11:56:31+01:00",
            "tags": [
                "docker",
                "docker-compose",
                "nginx",
                "ngix-proxy"
            ],
            "_date_published_rfc2822": "Mon, 04 Dec 2017 11:54:50 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "190",
            "_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)"
}