1 2 3 4 5 6 7 8
EXPOSE 8080 8443 WORKDIR /data ENV JAVA_XMX 1024m ENV JAVA_XMS 128m ENTRYPOINT /data/bin/toro-martini
Although the Dockerfile exposes port
8443, by default the Martini Docker image is configured to serve requests
over HTTP only. If you want Martini to serve requests over HTTPS, you should see this guide.
The working directory is set to the path
/data. This directory contains Martini's installation files and some
The environment variables are used to set Java's maximum heap memory and maximum permanent space. You can
override these settings to your liking by flagging them when executing the
docker run command and Martini will
automatically pick up your overriding values. An example on how to override Java memory settings can be found
in the following page.
The entry point configured in the Docker file is
/bin/toro-martini, which by default, will run Martini in