From 1d4bfbf536fcbc6632bc23dbe5d1236df4a68cdc Mon Sep 17 00:00:00 2001 From: gusto Date: Mon, 15 Jun 2026 15:40:01 +0300 Subject: [PATCH] fix(deployment): Create/Remove explorer related dirs in deployment (#2945) --- compose.run.yml | 2 +- deployment/scripts/cleanup_node_data.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/compose.run.yml b/compose.run.yml index b5c0fb8eb..daa9fe9c5 100644 --- a/compose.run.yml +++ b/compose.run.yml @@ -16,7 +16,7 @@ services: - NBE_NODE_API_HOST=logos-blockchain-node-0 - NBE_NODE_API_PORT=${NODE0_API_PORT} - NBE_BASE_PATH=/web/explorer - - NBE_DATABASE_URL=sqlite:///node-data/explorer/sqlite.db + - NBE_DATABASE_URL=sqlite:////node-data/explorer/sqlite.db ports: - "13800:8000/tcp" diff --git a/deployment/scripts/cleanup_node_data.sh b/deployment/scripts/cleanup_node_data.sh index b6c2b5a1d..06ee84c89 100755 --- a/deployment/scripts/cleanup_node_data.sh +++ b/deployment/scripts/cleanup_node_data.sh @@ -3,8 +3,10 @@ rm -rf /node-data/*/state* rm -rf /node-data/*/logos-blockchain.log.* rm -rf /node-data/cfgsync +rm -rf /node-data/explorer set -e +mkdir /node-data/explorer mkdir /node-data/cfgsync cp /deployment.yaml /node-data/cfgsync/deployment-settings.yaml