In order to provide a clean way of adding a docker-compose to our products FInesse and Nachet for which the frontend and backend needs to be hosted on the same hostname, id like to have a folder where we can save our custom dockerfiles.
This is because in order to make the docker-compose work for those products, we need to make use of a reverse proxy like nginx to redirect request between backend and frontend. To do so, we need a custom nginx.conf configuration file.
To avoid polluting each repo and to provide a single source of configuration, we could have a dockerfiles folder where we would keep our custom image of a nginx server.
In order to provide a clean way of adding a docker-compose to our products FInesse and Nachet for which the frontend and backend needs to be hosted on the same hostname, id like to have a folder where we can save our custom dockerfiles.
This is because in order to make the docker-compose work for those products, we need to make use of a reverse proxy like nginx to redirect request between backend and frontend. To do so, we need a custom nginx.conf configuration file.
To avoid polluting each repo and to provide a single source of configuration, we could have a dockerfiles folder where we would keep our custom image of a nginx server.