<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sagantaf</author_name>
  <author_url>https://blog.hatena.ne.jp/sagantaf/</author_url>
  <blog_title>sagantaf</blog_title>
  <blog_url>https://sagantaf.hatenablog.com/</blog_url>
  <categories>
    <anon>Docker</anon>
    <anon>コンテナ技術</anon>
    <anon>Python</anon>
  </categories>
  <description>はじめに docker-composeでDockerコンテナの内部IPアドレスを固定化し、nginx + uwsgi + flask を使ってWebサイトの環境を構築します。 サイトの中身自体は hello world するだけの超簡単な内容にしてあるので、正直nginxを挟む必要は無いですが、コンテナが内部IPアドレスで通信できることを確かめるためにnginxを使っています。 環境 全体構成 nginxコンテナ nginx.conf Dockerfile uwsgiコンテナ flask(app.py) uwsgi.ini Dockerfile docker-compose docker-co…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsagantaf.hatenablog.com%2Fentry%2F2020%2F02%2F11%2F002149&quot; title=&quot;docker-composeでコンテナの内部IPアドレスを固定化してWebサイトを作る - sagantaf&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sagantaf/20200211/20200211000601.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-11 00:21:49</published>
  <title>docker-composeでコンテナの内部IPアドレスを固定化してWebサイトを作る</title>
  <type>rich</type>
  <url>https://sagantaf.hatenablog.com/entry/2020/02/11/002149</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
