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,
|
tweaked,
|
||||||
Image,
|
Image,
|
||||||
ContainerName,
|
ContainerName,
|
||||||
Container,
|
Container(..),
|
||||||
-- * Container configuration
|
-- * Container configuration
|
||||||
dns,
|
dns,
|
||||||
hostname,
|
hostname,
|
||||||
|
@ -76,7 +76,10 @@ configured = prop `requires` installed
|
||||||
type ContainerName = String
|
type ContainerName = String
|
||||||
|
|
||||||
-- | A docker container.
|
-- | A docker container.
|
||||||
data Container = Container Image Host
|
data Container = Container
|
||||||
|
{ containerImage :: Image
|
||||||
|
, containerHost :: Host
|
||||||
|
}
|
||||||
|
|
||||||
instance PropAccum Container where
|
instance PropAccum Container where
|
||||||
(Container i h) & p = Container i (h & p)
|
(Container i h) & p = Container i (h & p)
|
||||||
|
|
Loading…
Reference in New Issue