diff --git a/docker/docker-initialize.py b/docker/docker-initialize.py index 7c8d5fb..50cce52 100644 --- a/docker/docker-initialize.py +++ b/docker/docker-initialize.py @@ -23,7 +23,8 @@ def __init__( self.mq_ws_url = "https://" + env.get("MQ_WS_URL", "019999") self.mq_ws_login = env.get("MQ_WS_LOGIN", "testuser") self.mq_ws_password = env.get("MQ_WS_PASSWORD", "test") - self.hostname = env.get('HOSTNAME') + self.hostname = env.get("HOSTNAME") + self.bigbang = env.get("BIGBANG", "False") self.instance1_conf = '/plone/parts/instance/etc/zope.conf' self.instance_amqp_conf = '/plone/parts/instance-amqp/etc/zope.conf' @@ -83,7 +84,7 @@ def _fix_amqp(self, path): def fixtures(self): """ ZEO Client """ - self._fix_conf(self.instance1_conf, True) + self._fix_conf(self.instance1_conf, bool(self.bigbang)) self._fix_conf(self.instance_async_conf, False) self._fix_conf(self.instance_amqp_conf, False) # instance debug doesn't exist in dev env