Run Java fatjar as a service on your Ubuntu server.
service_name
: service artifactIdservice_version
: service versionservice_port
: service port provided as PORT env variabledist_dir
: directory where to find fatJar, default.
Transfers file {{ dist_dir }}/{{ service_name }}-{{ service_version }}.jar
to your server and runs it as supervisor service.
See test.yml
You can run it in Vagrant. Just do:
vagrant up
and curl http://localhost:8080/
fatjar role is published under Apache License 2.0.