-
Notifications
You must be signed in to change notification settings - Fork 41
Fix frontend black screen issue in docker-compose setup #1649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix frontend black screen issue in docker-compose setup #1649
Conversation
OCaml Reference Validation ResultsRepository: https://github.com/MinaProtocol/mina.git Click to see full validation output |
✓ Code Reference Verification PassedAll code references in the documentation have been verified successfully! Total references checked: 1 The documentation is in sync with the codebase on the |
7cdc842 to
3d596e7
Compare
0xMimir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Change frontend environment from 'compose' to 'local' as 'compose' is not a valid environment in the frontend startup script. Expose port 3000 for the mina-node HTTP API to allow frontend to connect to the backend. This resolves the black screen issue where the frontend failed to start because of an invalid environment configuration.
a4e81c1
3d596e7 to
a4e81c1
Compare
Summary
composetolocalascomposeis not a valid environment in the frontend startup scriptProblem
The docker-compose setup was experiencing a black screen issue where the frontend failed to start. The root cause was that
MINA_FRONTEND_ENVIRONMENT: composewas not recognized by the frontend startup script, which only accepts:local,fuzzing,production,webnode, orstaging.Additionally, the mina-node HTTP API (running on port 3000) was not exposed, preventing the frontend from connecting to the backend even if it had started successfully.
Test plan
docker-compose up -ddocker-compose logs frontend