A pallet crate to deploy applications
Deploy an application
Define a server spec for an application.
The deploy phase is defined to deploy the application, either from a lein project, or from artifacts in a maven repository.
To control the application, the server-spec has phases for start, stop and
restart, as well as application specific start-
Settings are as described in the
Run an application under service management.
Settings for an application.
: the root of the install location (default /opt)
: a sequence of artifact maps. An artifact map is keyed on resolver,
with :from-lein and :from-maven-repo resolvers being supported. All resolvers
:path, which is the path relative to
:app-root or an absolute
path, and optionally an
:unpack flag, which can be set to unpack an archive.
:from-lein resolver expects a
:project-path, a path to a project
artifact, which may contain a "%s" which will be substituted with the
project version. The
:from-maven-repo resolver expects a
:coord, which is
a leiningen style coordinate vector.
: a map of leiningen style repository definitions, used by the
: a keyword selecting the supervision service to be used. Defaults to
: a string that can be used as a command to start the application.
: the user to use for running the application.