Once setup, in your terminal (inside your code directory root) run the command: If you are not wanting to run automated tests, then you do not need to include chrome, selenium (potentially MariaDB) in this file. That’s what ‘d-sync’ refers to in the above config. As I’m using Mac, I also had to setup Docker-sync to improve file synchronization and utilization. Important note: one of the drawbacks of Docker is that sharing file systems can be problematic with performance hits to be expected, especially if your host is Mac or Windows. For my purposes, this is only used for testing If you want to use it instead of a DB on your host machine then make sure to add a persistent volume so that your DB isn’t lost when the container is shut down.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |