<p></p>
<p><b>@mmd-osm</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2409#discussion_r549471542">docker-compose.yml</a>:</p>
<pre style='color:#555'>> @@ -0,0 +1,30 @@
+version: "3"
+
+services:
+ web:
+ build:
+ context: .
+ volumes:
+ - .:/app
+ # don't mount tmp directory (https://github.com/Shopify/bootsnap/issues/177)
+ - /app/tmp
+ ports:
+ - "3000:3000"
+ environment:
+ # https://github.com/Shopify/bootsnap/issues/262
+ ENABLE_BOOTSNAP: 'false'
</pre>
<p>In the Github issue you've linked to, they also replaced one line in a file named <code>config/boot.rb</code>:</p>
<p>On my local box, there's one line to load the bootsnap/setup module, which is used to speed up Rails application loading:</p>
<pre><code>require "bootsnap/setup" # Speed up boot time by caching expensive operations.
</code></pre>
<p>They replace that line by making the loading process depend on your new environment variable ENABLE_BOOTSNAP:</p>
<pre><code>require 'bootsnap/setup' if ENV.fetch("ENABLE_BOOTSNAP", "true") == "true"
</code></pre>
<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#discussion_r549471542">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLDUWGEHXRORBZ3ILDSXDQHDANCNFSM4JDURRXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLKH7VLM6MHQC4N3JJLSXDQHDA5CNFSM4JDURRXKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEFLAL2I.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#discussion_r549471542",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2409#discussion_r549471542",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>