From cb096caa7b605b8adf21f443315a0826c3b265fc Mon Sep 17 00:00:00 2001 From: Brandon Myers Date: Mon, 29 Oct 2018 14:02:28 -0500 Subject: [PATCH] Add mq_worker to build docker-compose --- docker/compose/docker-compose-rebuild.yml | 4 +++- docker/compose/docker-compose.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/compose/docker-compose-rebuild.yml b/docker/compose/docker-compose-rebuild.yml index c1663f3d..a88100e7 100644 --- a/docker/compose/docker-compose-rebuild.yml +++ b/docker/compose/docker-compose-rebuild.yml @@ -45,10 +45,12 @@ services: build: context: ../../ dockerfile: docker/compose/mozdef_loginput/Dockerfile - mq_eventtask: + # The generic worker container for all ingest processes + mq_worker: build: context: ../../ dockerfile: docker/compose/mozdef_mq_worker/Dockerfile + restart: "no" meteor: build: context: ../../ diff --git a/docker/compose/docker-compose.yml b/docker/compose/docker-compose.yml index a5c2b393..b173ed60 100644 --- a/docker/compose/docker-compose.yml +++ b/docker/compose/docker-compose.yml @@ -120,6 +120,7 @@ services: networks: - default mq_eventtask: + image: mozdef_mq_worker restart: always command: bash -c 'sleep 90 && source /opt/mozdef/envs/python/bin/activate && python esworker_eventtask.py -c esworker_eventtask.conf' scale: 1