update propellor example to new docker syntax

This commit is contained in:
Joey Hess 2014-12-03 14:58:32 -04:00
parent 4a51016cfc
commit caf72b1b8c

View file

@ -22,10 +22,9 @@ Just install Propellor and add this to its `config.hs`:
[[!format haskell """
import qualified Propellor.Property.SiteSpecific.GitAnnexBuilder as GitAnnexBuilder
, host hostname@"your.machine.net" = Just $ props
, host "your.machine.net"
& Docker.configured
& Docker.docked container hostname "amd64-git-annex-builder"
, GitAnnexBuilder.standardAutoBuilderContainer dockerImage "amd64" 15 "2h"
& Docker.docked (GitAnnexBuilder.standardAutoBuilderContainer dockerImage "amd64" 15 "2h")
"""]]
This will autobuild every hour at :15, and the autobuilt image will be