aboutsummaryrefslogtreecommitdiffstats
path: root/certService/Makefile
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-03-18 07:09:48 +0100
committerZebek Bogumil <bogumil.zebek@nokia.com>2020-03-18 07:09:48 +0100
commit55061dabd9dd0ca53c8a4cb9fe2ff1d80cf9c3a3 (patch)
treec4d950365e7c2b7c45603c8f6edbf555d6231472 /certService/Makefile
parent1b3f9cbabdabe43588bcf8e3b92c89bd87272ef6 (diff)
CertService local starter
Issue-ID: AAF-1107 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I7742fa622bd8acf4764137d98cad581781487103
Diffstat (limited to 'certService/Makefile')
-rw-r--r--certService/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/certService/Makefile b/certService/Makefile
new file mode 100644
index 00000000..b1b63b4d
--- /dev/null
+++ b/certService/Makefile
@@ -0,0 +1,31 @@
+all: build start stop
+.PHONY: build
+
+build:
+ @echo "##### Build Cert Service images locally #####"
+ mvn clean install -P docker
+ @echo "##### DONE #####"
+start:
+ @echo "##### Start Cert Service #####"
+ docker-compose up -d
+ @echo "## Configure ejbca ##"
+ docker exec aafcert-ejbca /opt/primekey/scripts/ejbca-configuration.sh
+ @echo "##### DONE #####"
+stop:
+ @echo "##### Stop Cert Service #####"
+ docker-compose down
+ @echo "##### DONE #####"
+
+
+
+
+
+
+
+
+
+
+
+
+
+