dokku-docker-restart-policy Build Status

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].

requirements

  • dokku 0.5.0+
  • docker 1.10.x

installation

# on 0.5.x
dokku plugin:install https://github.com/michaelshobbs/dokku-docker-restart-policy.git docker-restart-policy

triggers

This plugin provides the following trigger:

  • docker-args-deploy: adds the --restart=on-failure[:10] docker run option to the dokku deploy phase