From 9dc35e4f5deea79d074a336b8625291211c0791b Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 2 May 2022 16:56:15 +0000 Subject: [PATCH] hedgedoc: setup needs the keycloak password --- hedgedoc/setup | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hedgedoc/setup b/hedgedoc/setup index fd4f9fa..df89542 100755 --- a/hedgedoc/setup +++ b/hedgedoc/setup @@ -8,9 +8,13 @@ cd "$DIRNAME" cd ../keycloak +source env.production + sudo docker-compose exec -T keycloak \ /opt/keycloak/bin/kcadm.sh \ create clients \ + --user admin \ + --password "$KEYCLOAK_ADMIN_PASSWORD" \ -r "$REALM" \ -f - <