]> git.openstreetmap.org Git - rails.git/blobdiff - docker-compose.yml
Migrated from ruby:2.7 Docker image to ubuntu:20.04
[rails.git] / docker-compose.yml
index dbdd62731b89cb44b90d082705ee2d4255a1be9f..9719f0e7bbc9735a58c5bfdf07d500ecb616e6bb 100644 (file)
@@ -6,8 +6,13 @@ services:
       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'
     command: bundle exec rails s -p 3000 -b '0.0.0.0'
     depends_on:
       - db