@fairmint/canton-node-sdk 0.0.226 → 0.0.228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/localnet-cloud.sh +12 -3
package/package.json
CHANGED
|
@@ -212,19 +212,28 @@ run_quickstart_make() {
|
|
|
212
212
|
|
|
213
213
|
run_infra_compose() {
|
|
214
214
|
local compose_args="$1"
|
|
215
|
+
local keycloak_compose_file=""
|
|
216
|
+
local keycloak_env_file=""
|
|
217
|
+
local keycloak_profile=""
|
|
218
|
+
|
|
219
|
+
if [[ "$(current_auth_mode)" == "oauth2" ]]; then
|
|
220
|
+
keycloak_compose_file='-f "${MODULES_DIR}/keycloak/compose.yaml"'
|
|
221
|
+
keycloak_env_file='--env-file "${MODULES_DIR}/keycloak/compose.env"'
|
|
222
|
+
keycloak_profile='--profile keycloak'
|
|
223
|
+
fi
|
|
215
224
|
|
|
216
225
|
run_quickstart_command "docker compose \
|
|
217
226
|
-f \"\${LOCALNET_DIR}/compose.yaml\" \
|
|
218
|
-
|
|
227
|
+
${keycloak_compose_file} \
|
|
219
228
|
--env-file .env \
|
|
220
229
|
--env-file .env.local \
|
|
221
230
|
--env-file \"\${LOCALNET_DIR}/compose.env\" \
|
|
222
231
|
--env-file \"\${LOCALNET_DIR}/env/common.env\" \
|
|
223
|
-
|
|
232
|
+
${keycloak_env_file} \
|
|
224
233
|
--profile app-provider \
|
|
225
234
|
--profile app-user \
|
|
226
235
|
--profile sv \
|
|
227
|
-
|
|
236
|
+
${keycloak_profile} \
|
|
228
237
|
${compose_args}"
|
|
229
238
|
}
|
|
230
239
|
|