Here's how to use both running GraphQL backend and frontend - just by running these commands:
docker compose --profile dev up --build
# Frontend: http://localhost:3000
# Backend: http://localhost:4000
docker compose --profile prod up --build
# Frontend: http://localhost:8080
# Backend: http://localhost:4000