From 1db2d445347c1bebcd4be65163f6c48f6287cc06 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 15 Aug 2015 00:06:54 -0700 Subject: [PATCH] propellor spin --- config-simple.hs | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/config-simple.hs b/config-simple.hs index 7cda27a..b322692 100644 --- a/config-simple.hs +++ b/config-simple.hs @@ -22,20 +22,14 @@ main = defaultMain hosts -- Edit this to configure propellor! hosts :: [Host] hosts = - [ host "cadance" - & Docker.docked ircdContainer + [ host "hermit" + & os (System (Debian (Stable "jessie")) "amd64") + & Apt.stdSourcesList + & Apt.installed ["ssh"] + & Cron.runPropellor (Cron.Times "30 * * * *") + , host "empress" + & os (System (Ubuntu "trusty") "amd64") + & Apt.stdSourcesList + & Apt.installed ["ssh"] & Cron.runPropellor (Cron.Times "30 * * * *") ] - --- A generic webserver in a Docker container. -webserverContainer :: Docker.Container -webserverContainer = Docker.container "webserver" (Docker.latestImage "debian") - & os (System (Debian (Stable "jessie")) "amd64") - & Apt.stdSourcesList - & Docker.publish "80:80" - & Docker.volume "/var/www:/var/www" - & Apt.serviceInstalledRunning "apache2" - -ircdContainer :: Docker.Container -ircdContainer = Docker.container "ircd-prop" (Docker.latestImage "xena/elemental-ircd") - & Docker.publish "4507:6667"