![]() source code that the project usesĮach service is referenced in the docker-compose.yaml file, and defined in the Dockerfile that is in the corresponding directory in the docker-config/ directory. ![]() src - the frontend JavaScript, CSS, Vue, etc.These are derived from the Craft-Scripts shell scripts scripts - helper shell scripts that do things like pull a remote or local database into the running Docker container.docker-config - an individual directory for each service that the Docker setup uses, with a Dockerfile and other ancillary config files therein.cms - everything needed to run Craft CMS.Here’s an explanation of what the top-level directories are: ![]() There are other advantages as well, but these are the more important ones for me.Īdditionally, containerizing your application in local development is a great first step to using a containerized deployment process, and running Docker in production as well.Ī disadvantage with any kind of virtualization is performance, but that can be mitigated by having modern hardware, a bunch of memory, and optimizing Docker via the Performance Tuning Docker for Mac article.Ĭraft CMS Docker Directory Structure ├── buddy.yml yaml file, docker-compose up, and away you go
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |