Skip to content

Commit

Permalink
Merge branch 'main' into chore/remove-db-in-offline-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Kammerlo authored Dec 11, 2024
2 parents f235247 + c933390 commit 6f46f57
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env.docker-compose
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CARDANO_NODE_HOST=cardano-node
# Service name in docker-compose or local cardano node
CARDANO_NODE_PORT=3001
# Uncomment if you are using local cardano node
CARDANO_NODE_VERSION=10.1.2
CARDANO_NODE_VERSION=10.1.3
CARDANO_NODE_SUBMIT_HOST=cardano-submit-api
NODE_SUBMIT_API_PORT=8090
CARDANO_NODE_DIR=/node
Expand Down
2 changes: 1 addition & 1 deletion .env.h2
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CARDANO_NODE_HOST=localhost
# Service name in docker-compose or local cardano node
CARDANO_NODE_PORT=3001
# Uncomment if you are using local cardano node
CARDANO_NODE_VERSION=10.1.2
CARDANO_NODE_VERSION=10.1.3
CARDANO_NODE_SUBMIT_HOST=localhost
NODE_SUBMIT_API_PORT=8090

Expand Down
2 changes: 1 addition & 1 deletion docker/.env.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ DB_PORT=5432
## Cardano node variables
CARDANO_NODE_HOST=localhost
CARDANO_NODE_PORT=3001
CARDANO_NODE_VERSION=10.1.2
CARDANO_NODE_VERSION=10.1.3
CARDANO_NODE_SUBMIT_HOST=localhost
NODE_SUBMIT_API_PORT=8090
CARDANO_NODE_SOCKET_PATH=/node/node.socket
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ RUN git clone https://github.com/input-output-hk/mithril.git \


# Cardano node version
ARG CARDANO_NODE_VERSION=10.1.2
ARG CARDANO_NODE_VERSION=10.1.3

# Install sodium
RUN export IOHKNIX_VERSION=$(curl https://raw.githubusercontent.com/IntersectMBO/cardano-node/${CARDANO_NODE_VERSION}/flake.lock | jq -r '.nodes.iohkNix.locked.rev') \
Expand Down
6 changes: 5 additions & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,11 @@ else
mkdir -p /node/db

if [ "${MITHRIL_SYNC}" == "true" ]; then
download_mithril_snapshot
if [ "$(ls -A /node/db)" ]; then
echo "Mithril Snapshot already exists - Skipping Download..."
else
download_mithril_snapshot
fi
fi


Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</licenses>

<properties>
<revision>1.1.0</revision>
<revision>1.1.2</revision>
<java.version>21</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.spring-boot>3.2.4</version.spring-boot>
Expand Down

0 comments on commit 6f46f57

Please sign in to comment.