<p></p>
<p>Since a few weeks, the postgres image on the docker hub has changed and if no password is set, you have to set the <code>POSTGRES_HOST_AUTH_METHOD</code> environment variable to <code>trust</code>.<br>
Also instead of mounting the local directory for the postgres data, I just used the default volume of the postgres image.</p>
<p>Here is my patch</p>
<pre><code>diff --git a/docker-compose.yml b/docker-compose.yml
index 70730febf..5d7943e1c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -19,6 +19,5 @@ services:
     ports:
       - "54321:5432"
     environment:
+      POSTGRES_HOST_AUTH_METHOD: trust
       POSTGRES_DB: openstreetmap
-    volumes:
-      - ./docker-db-data:/var/lib/postgresql/data
</code></pre>
<p>Except that it worked flawless</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/2409#issuecomment-626179863">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMJXXNZZPOANDAMZ73RQVOEXANCNFSM4JDURRXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLMJ73NCSSJZX5VH7CDRQVOEXA5CNFSM4JDURRXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEVJL6FY.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/2409#issuecomment-626179863",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2409#issuecomment-626179863",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>