зеркало из https://github.com/mozilla/MozDef.git
only use images for cloudy mozdef
This commit is contained in:
Родитель
e2b32db60e
Коммит
5b71c82ea4
|
@ -2,9 +2,7 @@
|
||||||
version: '2.2'
|
version: '2.2'
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
build:
|
image: mozdef/mozdef_nginx
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/nginx/Dockerfile
|
|
||||||
restart: always
|
restart: always
|
||||||
command: /usr/sbin/nginx
|
command: /usr/sbin/nginx
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -17,9 +15,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
mongodb:
|
mongodb:
|
||||||
build:
|
image: mozdef/mozdef_mongodb
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/mongodb/Dockerfile
|
|
||||||
restart: always
|
restart: always
|
||||||
command: /usr/bin/mongod --smallfiles --config /etc/mongod.conf
|
command: /usr/bin/mongod --smallfiles --config /etc/mongod.conf
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -27,9 +23,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
bootstrap:
|
bootstrap:
|
||||||
build:
|
image: mozdef/mozdef_bootstrap
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/mozdef_bootstrap/Dockerfile
|
|
||||||
env_file:
|
env_file:
|
||||||
- cloudy_mozdef.env
|
- cloudy_mozdef.env
|
||||||
command: bash -c 'source /opt/mozdef/envs/python/bin/activate && python docker/conf/initial_setup.py ${ES_URL} cron/defaultMappingTemplate.json cron/backup.conf'
|
command: bash -c 'source /opt/mozdef/envs/python/bin/activate && python docker/conf/initial_setup.py ${ES_URL} cron/defaultMappingTemplate.json cron/backup.conf'
|
||||||
|
@ -39,18 +33,14 @@ services:
|
||||||
- default
|
- default
|
||||||
# MozDef Specific Containers
|
# MozDef Specific Containers
|
||||||
base:
|
base:
|
||||||
build:
|
image: mozdef/mozdef_base
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/mozdef_base/Dockerfile
|
|
||||||
env_file:
|
env_file:
|
||||||
- cloudy_mozdef.env
|
- cloudy_mozdef.env
|
||||||
command: bash -c 'su - mozdef -c /opt/mozdef/envs/mozdef/cron/update_geolite_db.sh'
|
command: bash -c 'su - mozdef -c /opt/mozdef/envs/mozdef/cron/update_geolite_db.sh'
|
||||||
volumes:
|
volumes:
|
||||||
- geolite_db:/opt/mozdef/envs/mozdef/data
|
- geolite_db:/opt/mozdef/envs/mozdef/data
|
||||||
alertplugins:
|
alertplugins:
|
||||||
build:
|
image: mozdef/mozdef_alertplugins
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/mozdef_alertplugins/Dockerfile
|
|
||||||
env_file:
|
env_file:
|
||||||
- cloudy_mozdef.env
|
- cloudy_mozdef.env
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -62,9 +52,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
alerts:
|
alerts:
|
||||||
build:
|
image: mozdef/mozdef_alerts
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/mozdef_alerts/Dockerfile
|
|
||||||
env_file:
|
env_file:
|
||||||
- cloudy_mozdef.env
|
- cloudy_mozdef.env
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -75,9 +63,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
cron:
|
cron:
|
||||||
build:
|
image: mozdef/mozdef_cron
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/mozdef_cron/Dockerfile
|
|
||||||
env_file:
|
env_file:
|
||||||
- cloudy_mozdef.env
|
- cloudy_mozdef.env
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -91,9 +77,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
loginput:
|
loginput:
|
||||||
build:
|
image: mozdef/mozdef_loginput
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/mozdef_loginput/Dockerfile
|
|
||||||
env_file:
|
env_file:
|
||||||
- cloudy_mozdef.env
|
- cloudy_mozdef.env
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -104,9 +88,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
meteor:
|
meteor:
|
||||||
build:
|
image: mozdef/mozdef_meteor
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/mozdef_meteor/Dockerfile
|
|
||||||
restart: always
|
restart: always
|
||||||
command: bash -c 'node bundle/main.js'
|
command: bash -c 'node bundle/main.js'
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -116,9 +98,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
rest:
|
rest:
|
||||||
build:
|
image: mozdef/mozdef_rest
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/mozdef_rest/Dockerfile
|
|
||||||
env_file:
|
env_file:
|
||||||
- cloudy_mozdef.env
|
- cloudy_mozdef.env
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -130,9 +110,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
syslog:
|
syslog:
|
||||||
build:
|
image: mozdef/mozdef_syslog
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/compose/mozdef_syslog/Dockerfile
|
|
||||||
env_file:
|
env_file:
|
||||||
- cloudy_mozdef.env
|
- cloudy_mozdef.env
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Загрузка…
Ссылка в новой задаче