Skip to content

Commit 3d596e7

Browse files
committed
Fix frontend black screen issue in docker-compose setup
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.
1 parent 419bf3d commit 3d596e7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Fixed
11+
12+
- **Docker Compose**: Fix frontend black screen issue by changing environment
13+
from `compose` to `local` and exposing port 3000 for mina-node HTTP API
14+
([#1649](https://github.com/o1-labs/mina-rust/pull/1649))
15+
1016
## [0.18.0] - 2025-11-04
1117

1218
### OCaml node

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ services:
1212
volumes:
1313
- ./mina-workdir:/root/.mina:rw
1414
ports:
15+
- "3000:3000"
1516
- "${MINA_LIBP2P_PORT:-8302}:${MINA_LIBP2P_PORT:-8302}"
1617
environment:
1718
MINA_LIBP2P_EXTERNAL_IP: "${MINA_LIBP2P_EXTERNAL_IP:-}"
@@ -20,6 +21,6 @@ services:
2021
frontend:
2122
image: o1labs/mina-rust-frontend:${MINA_FRONTEND_TAG:-latest}
2223
environment:
23-
MINA_FRONTEND_ENVIRONMENT: compose
24+
MINA_FRONTEND_ENVIRONMENT: local
2425
ports:
2526
- "8070:80"

0 commit comments

Comments
 (0)