Просмотр исходного кода

set enable conversions to false by default but enable in compse

Henry Oswald 7 лет назад
Родитель
Сommit
ca9231b04e

+ 1 - 1
services/filestore/config/settings.defaults.coffee

@@ -50,7 +50,7 @@ settings =
 		# Any commands to wrap the convert utility in, for example ["nice"], or ["firejail", "--profile=/etc/firejail/convert.profile"]
 		# Any commands to wrap the convert utility in, for example ["nice"], or ["firejail", "--profile=/etc/firejail/convert.profile"]
 		convertCommandPrefix: []
 		convertCommandPrefix: []
 
 
-	enableConversions: false
+	enableConversions: if process.env['ENABLE_CONVERSIONS'] == 'true' then true else false
 
 
 # Filestore health check
 # Filestore health check
 # ----------------------
 # ----------------------

+ 1 - 0
services/filestore/docker-compose.ci.yml

@@ -21,6 +21,7 @@ services:
       MONGO_HOST: mongo
       MONGO_HOST: mongo
       POSTGRES_HOST: postgres
       POSTGRES_HOST: postgres
       MOCHA_GREP: ${MOCHA_GREP}
       MOCHA_GREP: ${MOCHA_GREP}
+      ENABLE_CONVERSIONS: true
     depends_on:
     depends_on:
       - mongo
       - mongo
       - redis
       - redis