chaitanyaa241201/dockerized-microservices-nginx — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple Docker Compose project that shows two tiny backend services behind one NGINX reverse proxy.

I want one service written in Go and another written in Python Flask. Each one should have a basic hello endpoint, like /service1/hello for the Go service and /service2/hello for the Python service. NGINX should sit in front and route requests based on the path, so I can hit one public port and reach either service.

Please include clean Dockerfiles for both services, an NGINX config, and a docker compose file that builds and runs everything together. Make it easy to test locally, and also include simple README instructions for running it on an Ubuntu EC2 server with Docker installed. Keep it beginner friendly and make sure the containers can talk to each other correctly.

Want more depth? Deep Reverse