Skip to content

Commit bda5255

Browse files
committed
Use signer_port var for healthcheck
1 parent e900b66 commit bda5255

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/cli/src/docker_init.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,9 @@ pub fn handle_docker_init(config_path: String, output_dir: String) -> Result<()>
410410
volumes,
411411
environment: Environment::KvPair(signer_envs),
412412
healthcheck: Some(Healthcheck {
413-
test: Some(HealthcheckTest::Single(
414-
"curl -f http://localhost:20000/status".into(),
415-
)),
413+
test: Some(HealthcheckTest::Single(format!(
414+
"curl -f http://localhost:{signer_port}/status"
415+
))),
416416
interval: Some("5s".into()),
417417
timeout: Some("5s".into()),
418418
retries: 5,

0 commit comments

Comments
 (0)