The basic structure already created separates aspects of our project into logical groups:
- All applications to be used in the project are stored under the apps directory, which allows them to be pulled in individually either from version control or other source locations.
- project and templates are also distinct, which makes sense since the settings and templates for one project switch be shared, whereas applications are commonly intended to be reusable.
- The static and media files are separated as well, allowing them to be deployed to separate static content containers (and servers) easily.
To make full use of these features, let's update the docker-compose.yml file with some enhancements:
# docker-compose.ymlversion: '3' ...