in integration-test/aws-api-ecs/src/main/scala/org/apache/pekko/cluster/bootstrap/EcsApiDemoApp.scala [26:45]
def main(args: Array[String]): Unit = {
val privateAddress = getPrivateAddressOrExit
val config = ConfigFactory
.systemProperties()
.withFallback(
ConfigFactory.parseString(s"""
|pekko {
| actor.provider = "cluster"
| management {
| cluster.bootstrap.contact-point.fallback-port = 7626
| http.hostname = "${privateAddress.getHostAddress}"
| }
| discovery.method = aws-api-ecs-async
| remote.netty.tcp.hostname = "${privateAddress.getHostAddress}"
|}
""".stripMargin))
val system = ActorSystem("ecsBootstrapDemoApp", config)
PekkoManagement(system).start()
ClusterBootstrap(system).start()
}