module TestContainers.Config
( Config (..),
defaultConfig,
defaultDockerConfig,
determineConfig,
)
where
import {-# SOURCE #-} TestContainers.Docker (createRyukReaper)
import TestContainers.Monad (Config (..))
defaultConfig :: Config
defaultConfig :: Config
defaultConfig =
Config
{ configDefaultWaitTimeout :: Maybe Int
configDefaultWaitTimeout = forall a. a -> Maybe a
Just Int
60,
configTracer :: Tracer
configTracer = forall a. Monoid a => a
mempty,
configCreateReaper :: TestContainer Reaper
configCreateReaper = TestContainer Reaper
createRyukReaper
}
defaultDockerConfig :: Config
defaultDockerConfig :: Config
defaultDockerConfig =
Config
defaultConfig
determineConfig :: IO Config
determineConfig :: IO Config
determineConfig =
forall (f :: * -> *) a. Applicative f => a -> f a
pure Config
defaultDockerConfig