Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "juno.dnp.dappnode.eth",
"version": "2.0.2",
"shortDescription": "StarkNet full node",
"version": "0.1.2",
"shortDescription": "StarkNet full node and validator",
"description": "Nethermind Starknet Node Client Juno",
"type": "service",
"author": "DAppNode Association <admin@dappnode.io> (https://github.com/dappnode)",
Expand All @@ -18,8 +18,8 @@
"upstreamRepo": "NethermindEth/juno",
"links": {
"homepage": "https://github.com/dappnode/DAppNodePackage-juno-generic#readme",
"api": "http://juno.dappnode:6060/",
"websocket": "ws://juno.dappnode:6061/"
"api": "http://juno.juno.dappnode:6060/",
"websocket": "ws://juno.juno.dappnode:6061/"
},
"repository": {
"type": "git",
Expand Down
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,16 @@ services:
volumes:
- juno_data:/var/lib/juno
restart: unless-stopped
staking:
image: nethermind/starknet-staking-v2:v0.2.9
command:
["--metrics", "--metrics-host", "0.0.0.0", "--metrics-port", "9090"]
environment:
PROVIDER_HTTP_URL: http://juno:6060/rpc/v0_8
PROVIDER_WS_URL: ws://juno:6061/ws/v0_8
SIGNER_OPERATIONAL_ADDRESS: ""
SIGNER_PRIVATE_KEY: ""
SIGNER_EXTERNAL_URL: ""
restart: unless-stopped
volumes:
juno_data: {}
3 changes: 3 additions & 0 deletions juno/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
ARG UPSTREAM_VERSION
FROM nethermind/juno:${UPSTREAM_VERSION}

ARG NETWORK

# Install required tools (wget + zstd) in one layer before cleaning up
RUN apt-get update && \
apt-get install -y --no-install-recommends wget zstd && \
Expand All @@ -13,4 +15,5 @@ RUN mkdir -p /var/lib/juno
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENV NETWORK=${NETWORK}
ENTRYPOINT ["/entrypoint.sh"]
4 changes: 2 additions & 2 deletions package_variants/mainnet/dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "juno.dnp.dappnode.eth",
"version": "0.1.1",
"version": "0.1.2",
"shortDescription": "StarkNet full node",
"links": {
"homepage": "https://github.com/dappnode/DAppNodePackage-juno-generic#readme",
Expand All @@ -19,4 +19,4 @@
"port": 6061
}
]
}
}
15 changes: 15 additions & 0 deletions package_variants/mainnet/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
version: "3.8"
services:
juno:
ports:
- "6060:6060"
- "6061:6061"
environment:
ETH_L1_RPC_URL: ws://execution.mainnet.dncore.dappnode:8546
SNAPSHOT_URL: https://juno-snapshots.nethermind.io/files/mainnet/latest
NETWORK: mainnet
HTTP_PORT: 6060
WS_PORT: 6061
staking:
image: nethermind/starknet-staking-v2:v0.3.0
command:
["--metrics", "--metrics-host", "0.0.0.0", "--metrics-port", "9090"]
environment:
PROVIDER_HTTP_URL: http://juno:6060/rpc/v0_9
PROVIDER_WS_URL: ws://juno:6061/ws/v0_9
SIGNER_OPERATIONAL_ADDRESS: ""
SIGNER_PRIVATE_KEY: ""
SIGNER_EXTERNAL_URL: ""
13 changes: 11 additions & 2 deletions package_variants/mainnet/prometheus-targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@
"service": "juno"
},
"targets": [
"juno.dappnode:9090"
"juno.juno.dappnode:9090"
]
},
{
"labels": {
"package": "juno.dnp.dappnode.eth",
"service": "staking"
},
"targets": [
"staking.juno.dappnode:9090"
]
}
]
]
4 changes: 2 additions & 2 deletions package_variants/sepolia/dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "juno-sepolia.dnp.dappnode.eth",
"version": "0.1.1",
"version": "0.1.2",
"shortDescription": "StarkNet full node in Sepolia",
"links": {
"homepage": "https://github.com/dappnode/DAppNodePackage-juno-generic#readme",
Expand All @@ -19,4 +19,4 @@
"port": 6061
}
]
}
}
15 changes: 15 additions & 0 deletions package_variants/sepolia/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
version: "3.8"
services:
juno:
ports:
- "6070:6070"
- "6071:6071"
environment:
ETH_L1_RPC_URL: ws://execution.sepolia.dncore.dappnode:8546
SNAPSHOT_URL: https://juno-snapshots.nethermind.io/files/sepolia/latest
NETWORK: sepolia
HTTP_PORT: 6070
WS_PORT: 6071
staking:
image: nethermind/starknet-staking-v2:v0.3.0
command:
["--metrics", "--metrics-host", "0.0.0.0", "--metrics-port", "9090"]
environment:
PROVIDER_HTTP_URL: http://juno-sepolia:6070/rpc/v0_9
PROVIDER_WS_URL: ws://juno-sepolia:6071/ws/v0_9
SIGNER_OPERATIONAL_ADDRESS: ""
SIGNER_PRIVATE_KEY: ""
SIGNER_EXTERNAL_URL: ""
13 changes: 11 additions & 2 deletions package_variants/sepolia/prometheus-targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@
"service": "juno"
},
"targets": [
"juno-sepolia.dappnode:9090"
"juno.juno-sepolia.dappnode:9090"
]
},
{
"labels": {
"package": "juno-sepolia.dnp.dappnode.eth",
"service": "staking"
},
"targets": [
"staking.juno-sepolia.dappnode:9090"
]
}
]
]
Loading