[openstreetmap/openstreetmap-website] Add Docker Compose Support for Development Environment (#2409)
Michal Migurski
notifications at github.com
Mon Dec 28 19:11:08 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'
This is me chasing down some Ruby 2.5/2.7 vs. Ubuntu 18/20 weirdness when migrating away from the `ruby:2.7` base image per @gravitystorm’s recommendation above. I might be able to back this out if the latest Ubuntu 20.04 + Ruby 2.7 commit builds cleanly.
--
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_r549456789
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201228/20f0f522/attachment.htm>
More information about the rails-dev
mailing list