I have a single docker-compose.yml file that runs services like Postgres, but also runs a custom-built image forĭeveloping my Rails app. This creates a bit of a problem for webpack-dev-server, but this, too, can be fixed. I recently discovered that, by using NFS, file system access is wayįaster. Running bin/rails server on a fresh RailsĪpp can take almost a minute to come up. The problem is that Docker on Mac has very slow file system access. Only run services like Postgres and Redis, but also as a virtual machine in which to run all my dev commands. For the past several months on several projects, I’ve been using Docker (and docker-compose) to not I am somewhat obsessed with clean, repeatable, maintainable dev environments and Docker has all the pieces toĬreate one. Docker on Mac for Development with Fast Disk Access and Webpack Dev Server
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |