Using the previous Docker setup, running the app in Docker meant that it would run in a production environment. This is not optimal when developing, since it requires rebuilding the container in order to see the changes that have been made. I have added the option of running the app in a development environment which, among other things, makes changes visible right away.
The way this is done is by creating two additional docker-compose files, which override the settings of the master docker-compose file.
Using the previous Docker setup, running the app in Docker meant that it would run in a production environment. This is not optimal when developing, since it requires rebuilding the container in order to see the changes that have been made. I have added the option of running the app in a development environment which, among other things, makes changes visible right away.
The way this is done is by creating two additional docker-compose files, which override the settings of the master docker-compose file.