Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETCM-1016 adds vm stanza to pottery #1059

Merged
merged 5 commits into from
Jul 20, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/main/resources/conf/pottery.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,27 @@ mantis {
# The port for setting up a Prometheus server over localhost.
port = 13798
}

vm {
# internal | external
mode = "internal"

external {
# possible values are:
# - iele: runs a binary provided at `executable-path` with `port` and `host` as arguments (`./executable-path $port $host`)
# - kevm: runs a binary provided at `executable-path` with `port` and `host` as arguments (`./executable-path $port $host`)
# - mantis: if `executable-path` is provided, it will run the binary with `port` and `host` as arguments
# otherwise mantis VM will be run in the same process, but acting as an external VM (listening at `host` and `port`)
# - none: doesn't run anything, expect the VM to be started by other means
vm-type = "mantis"

# path to the executable - optional depending on the `vm-type` setting
executable-path = "./bin/mantis-vm"

host = "127.0.0.1"
port = 8888
}
}
}

akka {
Expand Down