<p><b>@Firefishy</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2409#discussion_r382147345">docker-compose.yml</a>:</p>
<pre style='color:#555'>> +      - "3000:3000"
+    command: bundle exec rails s -p 3000 -b '0.0.0.0'
+    depends_on:
+      - db
+
+  db:
+    build:
+      context: .
+      dockerfile: docker/postgres/Dockerfile
+    ports:
+      - "54321:5432"
+    environment:
+      POSTGRES_HOST_AUTH_METHOD: trust
+      POSTGRES_DB: openstreetmap
+    volumes:
+      - ./docker-db-data:/var/lib/postgresql/data
</pre>
<p>This should really be a data volume, rather than a file mapping.<br>
See: <a href="https://docs.docker.com/compose/compose-file/compose-file-v2/#volume-configuration-reference" rel="nofollow">https://docs.docker.com/compose/compose-file/compose-file-v2/#volume-configuration-reference</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/2409?email_source=notifications&email_token=AAK2OLNTFS3R3PRKNREXZWTRD24P3A5CNFSM4JDURRXKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWKRROI#pullrequestreview-362092729">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMVV3DPDCFQM3NI74DRD24P3ANCNFSM4JDURRXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLJLQ3H6J4YSKDQKTRDRD24P3A5CNFSM4JDURRXKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWKRROI.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?email_source=notifications\u0026email_token=AAK2OLNTFS3R3PRKNREXZWTRD24P3A5CNFSM4JDURRXKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWKRROI#pullrequestreview-362092729",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2409?email_source=notifications\u0026email_token=AAK2OLNTFS3R3PRKNREXZWTRD24P3A5CNFSM4JDURRXKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWKRROI#pullrequestreview-362092729",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>