<blockquote>
<p>Hi! Looks great so far. I was able to get a couple of containers up using your instructions. Please let me know if there's anything I can do to help <g-emoji class="g-emoji" alias="smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">😄</g-emoji></p>
</blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=271360" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zerebubuth">@zerebubuth</a> Any thoughts on how to handle persistence of Postgres data? There is some background information in the "Where to Store Data" section here: <a href="https://hub.docker.com/_/postgres" rel="nofollow">https://hub.docker.com/_/postgres</a></p>
<p>I personally prefer the <em>"Let Docker manage the storage"</em> approach but I have found that people find that confusing since their data vanishes when you run <code>docker-compose down</code>. For me, that's a <em>feature</em> but it seems to be surprising to people and can lead to unexpected data destruction which nobody likes.</p>
<p>Because of that I'm inclined to do with the <em>"Create a data directory on the host system (outside the container)"</em> option. I find it weird to have a <code>PGDATA</code> directory on my host system that is only used in a container, but I suspect I'm in the minority.</p>
<p>Thoughts?</p>
<p><em>btw, right now it's using the <em>"Let Docker manage the storage"</em> approach</em></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2406?email_source=notifications&email_token=AAK2OLMN7ZDIMNNYMPVJ5PDQPXITHA5CNFSM4JCSIWE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB24UTY#issuecomment-544590415">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMP7CKNFKEQQCV6ZZTQPXITHANCNFSM4JCSIWEQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLPQTWC67IMVG6LMT2TQPXITHA5CNFSM4JCSIWE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB24UTY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2406?email_source=notifications\u0026email_token=AAK2OLMN7ZDIMNNYMPVJ5PDQPXITHA5CNFSM4JCSIWE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB24UTY#issuecomment-544590415",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2406?email_source=notifications\u0026email_token=AAK2OLMN7ZDIMNNYMPVJ5PDQPXITHA5CNFSM4JCSIWE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB24UTY#issuecomment-544590415",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>