This repository has been archived by the owner on May 26, 2022. It is now read-only.
Cannot make docker-compose work with api and ui .env files settings #29
Labels
docker
Docker or docker compose
I tried to launch the grand-stack-starter project with Docker by following the instructions in the README file but that didn't work.
To make it work, I had to change :
"GRAPHQL_URI=http://api:4000" in api/.env file to "GRAPHQL_URI=http://api:4000"
"REACT_APP_GRAPHQL_URI=http://localhost:4000" in ui/.env file to "REACT_APP_GRAPHQL_URI=http://localhost:4000/graphql"
I think it was because the UI could not send GET or POST requests to the server.
I might have added CORS with Express to make it work. But maybe it works without it too.
The text was updated successfully, but these errors were encountered: