An excuse to play around with Dropwizard and Docker among other things.
./gradlew clean build && docker build -t jstenhouse/bitcoin_address_service:latest .
docker run --name bitcoin_address_service -d -p 8080:8080 -p 8081:8081 jstenhouse/bitcoin_address_service:latest
docker-machine ip local
http://<ip-address>:8080/bitcoin/addresses
docker run -it --rm --name bitcoin_address_service -p 8080:8080 -p 8081:8081 jstenhouse/bitcoin_address_service:latest /bin/bash
/data/bitcoin_address_service_example/bin/bitcoin_address_service_example server
Used with graphite in bitcoin-address-playground.