This is a Clojure engine used to launch Clojure apps on Nanobox.
To use the Clojure engine, specify clojure
as your engine
in your boxfile.yml.
run.config:
engine: clojure
When running a build, this engine compiles code by doing the following:
lein uberjar
bin/build
Custom build scripts should be included in bin/build
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: oraclejdk8
# Node.js Settings
nodejs_runtime: nodejs-4.4
Java Settings
Node.js Settings
The following setting allows you to define your Java runtime environment.
Specifies which Java runtime and version to use. The following runtimes are available:
- openjdk7
- openjdk8
- oraclejdk8 (default)
- sun-jdk6
- sun-jdk7
- sun-jdk8
run.config:
engine.config:
java_runtime: oraclejdk8
Many applications utilize Javascript tools in some way. This engine allows you to specify which Node.js runtime you'd like to use.
Specifies which Node.js runtime and version to use. You can view the available Node.js runtimes in the Node.js engine documentation.
run.config:
engine.config:
nodejs_runtime: nodejs-4.4
This is a Clojure engine provided by Nanobox. If you need help with this engine, you can reach out to us in the #nanobox IRC channel. If you are running into an issue with the engine, feel free to create a new issue on this project.