summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <id@joeyh.name>2014-12-03 14:58:32 -0400
committerGravatar Joey Hess <id@joeyh.name>2014-12-03 14:58:32 -0400
commitd53d14a278959b2a66790c52f97e817aec8b2ab8 (patch)
treea0718ff9809982fad7f6a16638fe9d7e82f6e402 /doc
parentbe2dbf643f30c6a20aaa9aba3acb934e97398c9f (diff)
update propellor example to new docker syntax
Diffstat (limited to 'doc')
-rw-r--r--doc/install/Docker.mdwn5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/install/Docker.mdwn b/doc/install/Docker.mdwn
index fd7ff1cd2..8b6d94fe9 100644
--- a/doc/install/Docker.mdwn
+++ b/doc/install/Docker.mdwn
@@ -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