This is a Scala engine used to launch Scala apps on Nanobox.
To use the Scala engine, specify scala
as your engine
in your boxfile.yml.
run.config:
engine: scala
When preparing your application for deploy, this engine compiles code by doing the following:
sbt compile stage
Heads Up: This engine assumes you have sbt-native-packager configured.
This engine exposes configuration options through the boxfile.yml, a yaml config file used to provision and configure your app's infrastructure when using Nanobox.
run.config:
engine.config:
# Java Settings
java_runtime: oracle-jdk8
The following setting allows you to define your Java runtime environment.
Specifies which Java runtime and version to use. The following runtimes are available:
- openjdk8
- sun-jdk6
- sun-jdk7
- oracle-jdk8
run.config:
engine.config:
java_runtime: oracle-jdk8
This is a Scala engine provided by Nanobox. If you need help with this engine, you can reach out to us in the Nanobox Slack channel (access can be requested at slack.nanoapp.io). If you are running into an issue with the engine, feel free to create a new issue on this project.