Skip to content

Commit ded1e7b

Browse files
ETCM-1016 adds vm stanza to pottery (#1059)
1 parent ced069a commit ded1e7b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/main/resources/conf/pottery.conf

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,27 @@ mantis {
2626
# The port for setting up a Prometheus server over localhost.
2727
port = 13798
2828
}
29+
30+
vm {
31+
# internal | external
32+
mode = "internal"
33+
34+
external {
35+
# possible values are:
36+
# - iele: runs a binary provided at `executable-path` with `port` and `host` as arguments (`./executable-path $port $host`)
37+
# - kevm: runs a binary provided at `executable-path` with `port` and `host` as arguments (`./executable-path $port $host`)
38+
# - mantis: if `executable-path` is provided, it will run the binary with `port` and `host` as arguments
39+
# otherwise mantis VM will be run in the same process, but acting as an external VM (listening at `host` and `port`)
40+
# - none: doesn't run anything, expect the VM to be started by other means
41+
vm-type = "mantis"
42+
43+
# path to the executable - optional depending on the `vm-type` setting
44+
executable-path = "./bin/mantis-vm"
45+
46+
host = "127.0.0.1"
47+
port = 8888
48+
}
49+
}
2950
}
3051

3152
akka {

0 commit comments

Comments
 (0)