зеркало из https://github.com/mozilla/MozDef.git
easy target to restart cloudymozdef
This commit is contained in:
Родитель
f0a5db246e
Коммит
4aaebef166
5
Makefile
5
Makefile
|
@ -26,13 +26,16 @@ run: build ## Run all MozDef containers
|
|||
run-only:
|
||||
docker-compose -f $(USE_DKR_IMAGES) -f docker/compose/docker-compose.yml -p $(NAME) up -d
|
||||
|
||||
.PHONY: run-cloudy-mozdef
|
||||
.PHONY: run-cloudy-mozdef restart-cloudy-mozdef
|
||||
run-cloudy-mozdef: ## Run the MozDef containers necessary to run in AWS (`cloudy-mozdef`). This is used by the CloudFormation-initiated setup.
|
||||
$(shell test -f docker/compose/cloudy_mozdef.env || touch docker/compose/cloudy_mozdef.env)
|
||||
$(shell test -f docker/compose/cloudy_mozdef_kibana.env || touch docker/compose/cloudy_mozdef_kibana.env)
|
||||
docker-compose -f docker/compose/docker-compose-cloudy-mozdef.yml -p $(NAME) pull
|
||||
docker-compose -f docker/compose/docker-compose-cloudy-mozdef.yml -p $(NAME) up -d
|
||||
|
||||
restart-cloudy-mozdef:
|
||||
docker-compose -f docker/compose/docker-compose-cloudy-mozdef.yml -p $(NAME) restart
|
||||
|
||||
# TODO? add custom test targets for individual tests (what used to be `multiple-tests` for example
|
||||
# The docker files are still in docker/compose/docker*test*
|
||||
.PHONY: test tests run-tests
|
||||
|
|
Загрузка…
Ссылка в новой задаче