-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
akka-management 利用時は akka.remote.artery.canonical を利用しないため固定値を取り除き、sb…
…t もしくは java コマンドによる起動時に java 環境変数にセットして呼び出すように変更、この時点で akka-management による k8s クラスター起動はできるようになった(祝)
- Loading branch information
1 parent
688b701
commit f6f0401
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,14 @@ | |
|
||
1. `sbt` コマンドで sbt を起動 | ||
2. `set javaOptions += "-DSEED_NODES.0=akka://[email protected]:2551"` コマンドで環境変数を設定 | ||
3. `run` コマンドでサーバを起動 | ||
3. `set javaOptions += "-DSEED_HOST=0.0.0.0"` コマンドで環境変数を設定 | ||
4. `set javaOptions += "-DSEED_PORT=2551"` コマンドで環境変数を設定 | ||
5. `run` コマンドでサーバを起動 | ||
|
||
### java -jar を使用 | ||
|
||
1. `sbt assembly` コマンドで FAT jar ファイルを作成 | ||
2. `java -DSEED_NODES.0="akka://[email protected]:2551" -jar ./target/scala-3.4.3/til-akka-typed.jar` コマンドでサーバを起動 | ||
2. `java -DSEED_NODES.0="akka://[email protected]:2551" -DSEED_HOST="0.0.0.0" -DSEED_PORT="2551" -jar ./target/scala-3.4.3/til-akka-typed.jar` コマンドでサーバを起動 | ||
|
||
### docker を使用 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters