add Docker.Container field labels containerImage and containerHost
This commit is contained in:
parent
4b5b9f253f
commit
3790a65dd5
|
@ -16,7 +16,7 @@ module Propellor.Property.Docker (
|
|||
tweaked,
|
||||
Image,
|
||||
ContainerName,
|
||||
Container,
|
||||
Container(..),
|
||||
-- * Container configuration
|
||||
dns,
|
||||
hostname,
|
||||
|
@ -76,7 +76,10 @@ configured = prop `requires` installed
|
|||
type ContainerName = String
|
||||
|
||||
-- | A docker container.
|
||||
data Container = Container Image Host
|
||||
data Container = Container
|
||||
{ containerImage :: Image
|
||||
, containerHost :: Host
|
||||
}
|
||||
|
||||
instance PropAccum Container where
|
||||
(Container i h) & p = Container i (h & p)
|
||||
|
|
Loading…
Reference in New Issue