From b8f57ebc4fdf615b719739176ea0cbddc44506a2 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Sun, 3 Oct 2021 19:52:28 +0000 Subject: [PATCH] L2SS-391: Add 'make bootstrap' to facilitate initial startup' --- docker-compose/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose/Makefile b/docker-compose/Makefile index 35c4a2f4e..892642f10 100644 --- a/docker-compose/Makefile +++ b/docker-compose/Makefile @@ -148,6 +148,11 @@ ifneq ($(NETWORK_MODE),host) endif $(DOCKER_COMPOSE_ARGS) docker-compose -f tango.yml -f networks.yml up -d +bootstrap: # first start, initialise from scratch + $(MAKE) start elk-configure-host # configure host kernel for elk container + $(MAKE) start dsconfig # boot up containers to load configurations + ../sbin/update_ConfigDb.sh ../CDB/LOFAR-ConfigDb.sh + start: up ## start a service (usage: make start <servicename>) if [ $(UNAME_S) = Linux ]; then touch ~/.Xauthority; chmod a+r ~/.Xauthority; fi $(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) start $(SERVICE) -- GitLab