summaryrefslogtreecommitdiff
path: root/config-simple.hs
diff options
context:
space:
mode:
Diffstat (limited to 'config-simple.hs')
-rw-r--r--config-simple.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/config-simple.hs b/config-simple.hs
index 3fb59186..94562eeb 100644
--- a/config-simple.hs
+++ b/config-simple.hs
@@ -24,7 +24,8 @@ main = defaultMain hosts
hosts :: [Host]
hosts =
[ host "mybox.example.com"
- & Apt.stdSourcesList Unstable
+ & os (System (Debian Unstable) "amd64")
+ & Apt.stdSourcesList
& Apt.unattendedUpgrades
& Apt.installed ["etckeeper"]
& Apt.installed ["ssh"]
@@ -36,7 +37,9 @@ hosts =
& Cron.runPropellor "30 * * * *"
-- A generic webserver in a Docker container.
- , Docker.container "webserver" "joeyh/debian-unstable"
+ , Docker.container "webserver" "joeyh/debian-stable"
+ & os (System (Debian Stable) "amd64")
+ & Apt.stdSourcesList
& Docker.publish "80:80"
& Docker.volume "/var/www:/var/www"
& Apt.serviceInstalledRunning "apache2"