File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,8 +122,7 @@ create_console_api_key() {
122122
123123 while [ " $attempt " -le " $max_attempts " ]; do
124124 if output=$(
125- cd " $TARGET_DIR "
126- " ${COMPOSE_CMD[@]} " run --rm -T --no-deps simprint-console-gateway \
125+ docker exec simprint-console-gateway /app/app \
127126 --config /app/configs/console.toml apikey create --name " extension-sync" 2>&1
128127 ) ; then
129128 api_key_line=$( printf ' %s\n' " $output " | sed -n ' s/^[[:space:]]*X-API-KEY: //p' | tail -n 1)
@@ -139,7 +138,7 @@ create_console_api_key() {
139138 exit 1
140139 fi
141140
142- echo " Waiting for simprint-console-gateway to finish database initialization (attempt $attempt /$max_attempts )..."
141+ echo " Waiting for simprint-console-gateway to become ready (attempt $attempt /$max_attempts )..."
143142 sleep 3
144143 attempt=$(( attempt + 1 ))
145144 done
You can’t perform that action at this time.
0 commit comments