Skip to content

Commit 280d7f6

Browse files
authored
Improve Awssample node docs (#2175)
<!-- Describe your change here --> --- <!-- Consider each and tick it off one way or the other --> * [ ] CHANGELOG updated or not needed * [ ] Documentation updated or not needed * [ ] Haddocks updated or not needed * [ ] No new TODOs introduced or explained herafter
2 parents ff11a1a + 82482c2 commit 280d7f6

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ when the number of persisted `StateChanged` events exceeds the configured `--per
9090
- New run-time dependency onto `etcd` binary
9191
- The peer network options to `hydra-node` (`--peer`) need to match across the Hydra network.
9292
- `--host` and `--port` have been removed and we now have `--listen` and `--advertise`.
93-
- `--listen` can be the same as the old `--host/--port` combined, but you may require `--advertise` to set your _public_ IP address and port combination, if you cannot bind to that on the local machine.
93+
- `--listen` can be the same as the old `--host:--port` combined, but you may require `--advertise` to set your _public_ IP address and port combination, if you cannot bind to that on the local machine.
9494
- Adds `NetworkConnected` and `NetworkDisconnected` outputs which are most indicative of whether the L2 network is up or not.
9595
- Change `PeerConnected` and `PeerDisconnected` to indicate connectivity to `--peer` items and not the remote `node-id`.
9696
- Change `PeerHandshakeFailure` to a network-level `NetworkVersionMismatch`

sample-node-config/aws/docker/docker-compose.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
logging:
99
driver: "awslogs"
1010
options:
11-
awslogs-region: "eu-west-3" # defined in variables.tf
11+
awslogs-region: "${REGION}" # defined in sample-node-config/aws/terraform.tfvars
1212
awslogs-group: "${KEY_NAME}-${NETWORK}_instance_logs" # defined in cloudwatch.tf
1313
awslogs-stream: "cardano_node-${NETWORK}" # defined in cloudwatch.tf
1414
tag: "{{.ImageName}}/{{.Name}}/{{.ID}}"
@@ -27,7 +27,7 @@ services:
2727
]
2828

2929
hydra-node:
30-
image: ghcr.io/input-output-hk/hydra-node@sha256:3b7f78962ff8fc212644e1ef4faf8742ead6f7c31353cdf5cc251d4d825edac7
30+
image: ghcr.io/cardano-scaling/hydra-node:0.22.4
3131
restart: always
3232
container_name: hydra-node
3333
logging:
@@ -51,7 +51,8 @@ services:
5151
command:
5252
[ "--node-id", "${KEY_NAME}"
5353
, "--api-host", "0.0.0.0"
54-
, "--host", "0.0.0.0"
54+
, "--listen", "0.0.0.0:6000"
55+
# , "--advertise", ""
5556
, "--monitoring-port", "6000"
5657
, "--hydra-scripts-tx-id", "${HYDRA_SCRIPTS_TX_ID}"
5758
, "--hydra-signing-key", "/credentials/hydra-key.sk"
@@ -82,6 +83,10 @@ services:
8283
, "--peer", "hydra.horizon-haskell.net:5005"
8384
, "--hydra-verification-key", "/members/dan.hydra.vk"
8485
, "--cardano-verification-key", "/members/dan.cardano.vk"
86+
# Veronika
87+
, "--peer", "63.177.91.204:5001"
88+
, "--hydra-verification-key", "/members/veronika.hydra.vk"
89+
, "--cardano-verification-key", "/members/veronika.cardano.vk"
8590
]
8691

8792
hydra-tui:

sample-node-config/aws/setup/hydra-team-keys.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,10 @@
3333
"peer": "87.212.22.225:5551",
3434
"cardano-vk": "58204840c39a37560dac5c59fcc67d09f7a5be3633b8474c10c14d972ed62dc1ab19",
3535
"hydra-vk": "5820f715cf470ad4ca7b51416c5ee2cce82f9bea9ba7fd8052bac6433a9450a39e10"
36+
},
37+
"veronika": {
38+
"peer": "63.177.91.204:5001",
39+
"cardano-vk": "5820cf2e0358009fd56ab5ca4dd4c7d0e5fd595f1821ec4b19c904d473abefdca3fe",
40+
"hydra-vk": "58208c69cf05a794ae72151dbd7522d9398daf30b14d0a8f9972e31f76fb14b0b4f1"
3641
}
37-
}
42+
}

0 commit comments

Comments
 (0)