diff options
| author | Joey Hess <joey@kitenet.net> | 2014-06-05 17:30:39 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-06-05 17:30:39 -0400 |
| commit | dc25de234c822f7139e0e11d0c62760ceca5bf83 (patch) | |
| tree | b66ed6bcb1344ebe1d99233aaa0b9bdf80463ba5 /config-simple.hs | |
| parent | 4fdd1b9ea4082c4005ded2bf650f349090da6aea (diff) | |
| parent | c0616ca8ce34ddb3d86131b89a38086110a604b3 (diff) | |
Merge branch 'joeyconfig'
Diffstat (limited to 'config-simple.hs')
| -rw-r--r-- | config-simple.hs | 7 |
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" |
