зеркало из https://github.com/mozilla/MozDef.git
Add mq_worker to build docker-compose
This commit is contained in:
Родитель
cf3adae759
Коммит
cb096caa7b
|
@ -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: ../../
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче