hedgedoc: setup needs the keycloak password

single-dockerfile
Ubuntu 3 years ago
parent 05e87eb945
commit 9dc35e4f5d
  1. 4
      hedgedoc/setup

@ -8,9 +8,13 @@ cd "$DIRNAME"
cd ../keycloak cd ../keycloak
source env.production
sudo docker-compose exec -T keycloak \ sudo docker-compose exec -T keycloak \
/opt/keycloak/bin/kcadm.sh \ /opt/keycloak/bin/kcadm.sh \
create clients \ create clients \
--user admin \
--password "$KEYCLOAK_ADMIN_PASSWORD" \
-r "$REALM" \ -r "$REALM" \
-f - <<EOF || die "unable to create hedgedoc client" -f - <<EOF || die "unable to create hedgedoc client"
{ {

Loading…
Cancel
Save