Deprecated as of Dokku 0.7.0, which has restart policy handling built in.
Injects restart policy on dokku deploy phase
Currently just sets --restart=on-failure[:10]
.
- dokku 0.5.0+
- docker 1.10.x
# on 0.5.x
dokku plugin:install https://github.com/michaelshobbs/dokku-docker-restart-policy.git docker-restart-policy
This plugin provides the following trigger:
docker-args-deploy
: adds the--restart=on-failure[:10]
docker run option to the dokku deploy phase