From b130a95507bf29e1928195763de66c8655b1fecd Mon Sep 17 00:00:00 2001 From: Gary van Woerkens Date: Thu, 24 Oct 2024 20:53:40 +0200 Subject: [PATCH] fix: service name --- .github/workflows/create_instance.yaml | 2 +- main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create_instance.yaml b/.github/workflows/create_instance.yaml index 3af07cb..a69ecb7 100644 --- a/.github/workflows/create_instance.yaml +++ b/.github/workflows/create_instance.yaml @@ -6,7 +6,7 @@ on: modelName: description: 'The model to use' required: true - default: 'llama3.1:70b' + default: 'llama3.1' instanceNameSuffix: description: 'Instance name suffix' required: false diff --git a/main.py b/main.py index dae55ae..2d44db7 100644 --- a/main.py +++ b/main.py @@ -118,8 +118,8 @@ def indentString(input_string, indent_level=4): # up docker compose services docker compose up -d --build - docker exec ollama-ollama-service-1 ollama pull {modelName} - docker exec ollama-ollama-service-2 ollama pull {modelName} + docker exec ollama-ollama-service-1-1 ollama pull {modelName} + docker exec ollama-ollama-service-2-1 ollama pull {modelName} touch /tmp/runcmd_finished - path: /etc/ssh/sshd_config.d/90-custom-settings.conf