fix(deployment): Create/Remove explorer related dirs in deployment (#2945)

This commit is contained in:
gusto
2026-06-15 15:40:01 +03:00
committed by GitHub
parent 4efdf816e2
commit 1d4bfbf536
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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"
+2
View File
@@ -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