[openstreetmap/openstreetmap-website] Add Docker Compose Support for Development Environment (#2409)

Michal Migurski notifications at github.com
Mon Dec 28 20:26:55 UTC 2020


@migurski commented on this pull request.



> @@ -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'

That makes sense — I’ve added this check in `config/boot.rb` and it seems to now work both locally and on GH. Thanks!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2409#discussion_r549477061
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201228/450383e3/attachment-0001.htm>


More information about the rails-dev mailing list