propellor spin
This commit is contained in:
parent
e1f7b534f6
commit
1db2d44534
|
@ -22,20 +22,14 @@ main = defaultMain hosts
|
||||||
-- Edit this to configure propellor!
|
-- Edit this to configure propellor!
|
||||||
hosts :: [Host]
|
hosts :: [Host]
|
||||||
hosts =
|
hosts =
|
||||||
[ host "cadance"
|
[ host "hermit"
|
||||||
& Docker.docked ircdContainer
|
|
||||||
& 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")
|
& os (System (Debian (Stable "jessie")) "amd64")
|
||||||
& Apt.stdSourcesList
|
& Apt.stdSourcesList
|
||||||
& Docker.publish "80:80"
|
& Apt.installed ["ssh"]
|
||||||
& Docker.volume "/var/www:/var/www"
|
& Cron.runPropellor (Cron.Times "30 * * * *")
|
||||||
& Apt.serviceInstalledRunning "apache2"
|
, host "empress"
|
||||||
|
& os (System (Ubuntu "trusty") "amd64")
|
||||||
ircdContainer :: Docker.Container
|
& Apt.stdSourcesList
|
||||||
ircdContainer = Docker.container "ircd-prop" (Docker.latestImage "xena/elemental-ircd")
|
& Apt.installed ["ssh"]
|
||||||
& Docker.publish "4507:6667"
|
& Cron.runPropellor (Cron.Times "30 * * * *")
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in New Issue