From 25e0471e8223b162d89c7dfbfa4414fbd8d950a2 Mon Sep 17 00:00:00 2001
From: Tushar <codingid6@gmail.com>
Date: Tue, 14 Mar 2023 06:46:26 +0000
Subject: [PATCH] Provide password non-interactively in central

---
 install-central.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install-central.sh b/install-central.sh
index b9826ef..1403809 100644
--- a/install-central.sh
+++ b/install-central.sh
@@ -11,5 +11,5 @@ docker-compose up -d
 
 sleep 30
 
-docker compose exec service odk-cmd --email chakshu@samagragovernance.in user-create
+echo "StrongPassword@1234" | docker compose exec -T service odk-cmd --email chakshu@samagragovernance.in user-create
 docker compose exec service odk-cmd --email chakshu@samagragovernance.in user-promote
\ No newline at end of file
-- 
GitLab