Skip to content

Commit

Permalink
fix(docker): celestia-light-node fixes
Browse files Browse the repository at this point in the history
Point to the consensus node in the infra.
Specify the listen address for the RPC.
Pass the NODE_STORE environment variable
so that the endpoint calls init on the store.
Improve the health check to check the service port with nc.
  • Loading branch information
mzabaluev committed Mar 2, 2025
1 parent 7b6f1f7 commit 018b910
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ services:
container_name: celestia-light-node
command: |
celestia light start
--core.ip rpc.celestia.pops.one
--core.ip consensus.celestia.mainnet.movementinfra.xyz
--core.port 9090
--rpc.addr 0.0.0.0
--p2p.network celestia
--node.store /.movement/celestia/movement/.celestia-light
--keyring.backend test
Expand All @@ -35,6 +37,8 @@ services:
environment:
- NODE_TYPE=light
- P2P_NETWORK=celestia
- NODE_STORE=/.movement/celestia/movement/.celestia-light
user: root:root
volumes:
- ${DOT_MOVEMENT_PATH}/celestia:/.movement/celestia
ports:
Expand All @@ -43,5 +47,5 @@ services:
setup:
condition: service_healthy
healthcheck:
test: "celestia node info"
test: "nc -zv 0.0.0.0 26658"
restart: on-failure:3

0 comments on commit 018b910

Please sign in to comment.