A project that runs a Node server and a create-react-app app via two separate containers, using Docker Compose.
run npm/yarn install in client & server directory
docker-compose build -> docker-compose up
or
docker-compose up --build
For development, the server/
and client/
directories have their own docker containers, which are configured via the docker-compose.yml
file.
The client server is up at localhost:3000
and it proxies internally to the server using the linked name as localhost:8080
.