- Dokku (https://github.com/progrium/dokku)
- DigitalOcean (http://digitalocean.com)
http://goo.gl/1UtP1X
https://github.com/progrium/dokku#deploy-an-app
Simple Maven project with maven-jar-plugin
https://github.com/mvberg/dokku-java-sample
git remote add dokku dokku@SERVER:java-sample
git push dokku master
Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 632 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
...
remote: -----> Building one-tester ...
remote: Java app detected
remote: -----> Installing OpenJDK 1.6... done
remote: -----> Installing settings.xml... done
remote: -----> executing /cache/.maven/bin/mvn -B -Duser.home=/build/app clean install
...
remote: -----> Discovering process types
remote: Procfile declares types -> web
remote: -----> Releasing one-tester ...
remote: -----> Deploying one-tester ...
remote: -----> Cleaning up ...
remote: =====> Application deployed:
remote: http://XXX.XXX.XXX.XXX:49156
List deployed apps: docker ps -a
Get logs from app: docker logs [CONTAINER_ID]
Redeploy with git push dokku master