Skip to content

Commit

Permalink
jwt-secret-file in application.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
vsuharnikov committed Dec 13, 2024
1 parent 67b607a commit aa46802
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions local-network/configs/besu/besu.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# See https://besu.hyperledger.org/public-networks/reference/cli/options
# /opt/besu belongs to besu user: https://github.com/hyperledger/besu/blob/main/docker/openjdk-17/Dockerfile
# so it is the only writable path
data-path = "/opt/besu/data"
Expand Down
1 change: 0 additions & 1 deletion local-network/configs/besu/run-besu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ tee /opt/besu/logs/besu.log <<EOF
IP: $IP
EOF

# https://besu.hyperledger.org/public-networks/reference/cli/options
# --p2p-host="ec-1" # Doesn't work: https://github.com/hyperledger/besu/issues/4380
besu \
--config-file=/config/besu.conf \
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ units {
known-peers = []
file = null
}

# Optional:
# jwt-secret-file = "/path/to/jwt/secret"
}

chains = [
Expand All @@ -27,6 +30,8 @@ units {
# "5.6.7.8:6865"
# ]
# }
# # Optional:
# # jwt-secret-file = "/path/to/jwt/secret"
# }
]
}

0 comments on commit aa46802

Please sign in to comment.