Dockerize React & Go Stack

Job ID: 39922280

Budget: $10 – $30 USD

I already have a small sample project—a React frontend and a Golang API—that I’d like to run together via Docker Compose. I’ve put together an initial compose file, but the stack fails to start with “ns error unknown host.”

Here’s what I need:
• A clean docker-compose.yml that spins up two services:
– React frontend (latest stable React image or Node base)
– Golang API service (latest Go image)
• Networking configured so the React app can call the API by service name without DNS issues.
• Any minor tweaks to my Dockerfiles so both containers build and start smoothly.
• A short README listing the commands to build, run, and stop the stack on a typical dev machine.

No database is required right now. Latest versions of React and Go are fine. Keep the solution lightweight and easy to extend later.

I’ll share the current repo and tech stack details as soon as we start. Deliver the working compose file, updated Dockerfiles if needed, and the brief instructions so I can reproduce the setup locally.
Related categories: JavaScript Linux Golang Node.js React.js Docker Compose