<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thinkAmi</author_name>
  <author_url>https://blog.hatena.ne.jp/thinkAmi/</author_url>
  <blog_title>メモ的な思考的な</blog_title>
  <blog_url>https://thinkami.hatenablog.com/</blog_url>
  <categories>
    <anon>Docker</anon>
    <anon>PostgreSQL</anon>
  </categories>
  <description>WindowsでPostgreSQLを使って開発する際、コンテナを破棄してもデータが残るデータの永続化を考えました。 ただ、macと同じように version: '3' services: postgres: image: postgres:12.2-alpine tty: true restart: always volumes: # pgdataをホストに置く - ./pgdata:/var/lib/postgresql/data stdin_open: true ports: - &quot;44321:5432&quot; と、pgdata というローカルのファイルシステム上のフォルダを指定したところ p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2020%2F03%2F29%2F091220&quot; title=&quot;Windows for Docker &amp;amp; docker composeにて、top-level volumes option で named volume を定義してPostgreSQLのデータを永続化する - メモ的な思考的な&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/t/thinkAmi/20200329/20200329090905.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-29 09:12:20</published>
  <title>Windows for Docker &amp; docker composeにて、top-level volumes option で named volume を定義してPostgreSQLのデータを永続化する</title>
  <type>rich</type>
  <url>https://thinkami.hatenablog.com/entry/2020/03/29/091220</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
