If you are developing a web application then you will more than likely deploy the UI layer files in a simple web server to provide a fast edit/reload/test cycle. If you want to use the real backend services you’ll require a web application container such as Tomcat but you’ll hit the CORS problem. In this post, I will explain what CORS is and how you can configure NGINX as a reverse proxy in Docker to avoid it.
I’ve been using Docker in my current role for over six months now to provide me with an Oracle Database instance on a Mac. Oracle is the database of choice on the other environments; from CI to Production.
So you’ve heard about this thing called Docker and you want to give it a go on your Mac. You’ve installed Docker Toolkit and you’ve created yourself a docker machine: