<blockquote>
<p>Use a docker volume (managed via docker-compose.yml) for postgres persistance. In "production" one would not use postgres in the same way. A volume is not automatically removed on a <code>docker-compose down</code></p>
</blockquote>
<p>I switched over to use a Docker volume for Postgres in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/8d8417002f2e1fc4f4863580eeaf851d794e4b94/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/8d8417002f2e1fc4f4863580eeaf851d794e4b94"><tt>8d84170</tt></a></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=AAK2OLJIWEC3OGEPTA5KTCLQP5I3BA5CNFSM4JCSIWE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB652BY#issuecomment-545119495">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIRDHVNC2ZDGNOWJKTQP5I3BANCNFSM4JCSIWEQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLIIXKD25SD33PGEZN3QP5I3BA5CNFSM4JCSIWE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB652BY.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=AAK2OLJIWEC3OGEPTA5KTCLQP5I3BA5CNFSM4JCSIWE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB652BY#issuecomment-545119495",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2406?email_source=notifications\u0026email_token=AAK2OLJIWEC3OGEPTA5KTCLQP5I3BA5CNFSM4JCSIWE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB652BY#issuecomment-545119495",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>