Skip to content

nanobox-io/nanobox-engine-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scala

This is a Scala engine used to launch Scala apps on Nanobox.

Usage

To use the Scala engine, specify scala as your engine in your boxfile.yml.

run.config:
  engine: scala

Build Process

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.

Basic Configuration Options

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.

Overview of Basic Boxfile Configuration Options

run.config:
  engine.config:
    # Java Settings
    java_runtime: oracle-jdk8

Java Settings

The following setting allows you to define your Java runtime environment.


java_runtime

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

Help & Support

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.