Skip to content

Commit 38eef42

Browse files
committed
add log msg, remove echo
1 parent befbf98 commit 38eef42

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

start.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ handle_ollama_env() {
235235
eval "ollama serve >/dev/null 2>&1 &"
236236
OLLAMA_HOST=$temp_ollama_host
237237

238-
# we grab the PID of Ollama
238+
# grab the PID of Ollama
239239
temp_pid=$!
240240

241241
# Loop until the server responds with HTTP 200 or the retry limit is reached
@@ -328,10 +328,10 @@ echo "Log level: ${RUST_LOG}"
328328
echo "Models: ${DKN_MODELS}"
329329
echo "Operating System: ${OS}"
330330
echo "${COMPOSE_PROFILES}"
331-
echo "${COMPUTE_ENVS}"
332331
echo ""
333332
eval "${COMPOSE_UP}"
334333

334+
# grap the exit code of docker compose
335335
compose_exit_code=$?
336336

337337
# handle docker-compose error
@@ -342,6 +342,7 @@ if [ $compose_exit_code -ne 0 ]; then
342342
fi
343343

344344
echo "All good! Compute node is up and running."
345+
echo "You can check logs with: docker compose logs -f compute"
345346

346347
# background/foreground mode
347348
if [ "$START_MODE" = "FOREGROUND" ]; then

0 commit comments

Comments
 (0)