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