From d53d14a278959b2a66790c52f97e817aec8b2ab8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 3 Dec 2014 14:58:32 -0400 Subject: update propellor example to new docker syntax --- doc/install/Docker.mdwn | 5 ++--- 1 file 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 -- cgit v1.2.3