dtekcth / dfotose

DFotos hemsida
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

Add a development environment to Docker #26

Closed dheurlin closed 5 years ago

dheurlin commented 5 years ago

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.