docker-compose environment for the entire v.st system
https://v.st/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
390 B
20 lines
390 B
2 years ago
|
#!/bin/bash
|
||
|
|
||
|
export PATH=/opt/keycloak/bin:$PATH
|
||
|
|
||
|
# perform an authentication as admin so that all other scripts can
|
||
|
# use the cached credentials
|
||
|
|
||
|
kcadm.sh \
|
||
|
config credentials \
|
||
|
--server http://keycloak:8080/ \
|
||
|
--user admin \
|
||
|
--password "$KEYCLOAK_ADMIN_PASSWORD" \
|
||
|
--realm master \
|
||
|
|| exit 1
|
||
|
|
||
|
for file in /keycloak-setup/* ; do
|
||
|
echo >&2 "$file: running setup"
|
||
|
$file || exit 1
|
||
|
done
|