X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d5fe598a18eb04b10f4ac29f22a1bccb79185ad4..2da3ce6abfab55aa14f8fae4ae97abd5cf8a94ba:/docker-compose.yml?ds=sidebyside diff --git a/docker-compose.yml b/docker-compose.yml index dbdd62731..f03d315c7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,8 +6,15 @@ services: context: . volumes: - .:/app + # don't mount tmp directory (https://github.com/Shopify/bootsnap/issues/177) + - /app/tmp + # Prevent node_modules from mounting so it's not shared between host OS and Docker + - /app/node_modules/ 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