examples/dropwizard/README.md
./mvnw clean package to build your containerdocker run --rm -p 8080:8080 dropwizard-jib-example:1./mvnw exec:javaSee your application's health at http://localhost:8080/admin/healthcheck
FreeMaker templating is setup for dropwizard.yml through tkrille/dropwizard-template-config; this allows one to heavily customize the properties file via the container environment with FTL conditional checks and for loops, for example.
Starter Maven template generated with dropwizard-archetypes
mvn archetype:generate \
-DarchetypeGroupId=io.dropwizard.archetypes \
-DarchetypeArtifactId=example \
-DarchetypeVersion=[REPLACE ME WITH A VALID DROPWIZARD VERSION]
Ref. Dropwizard - Getting Started, Setting up With Maven
The remainder of the archetype code was filled-in following the above guide.
Learn more about Jib.
Learn more about Dropwizard.