From 1af51ed49740f4c99752fc119f74398fd0151e22 Mon Sep 17 00:00:00 2001 From: John Lambert Date: Mon, 20 Nov 2023 12:31:31 -0500 Subject: [PATCH] Better handling of calling out Machine.py images. --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4e5a6324..88fd877b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -87,7 +87,7 @@ services: - ASPNETCORE_ConnectionStrings__Serval=http://serval-api:81 - ClearML__ApiServer=https://api.sil.hosted.allegro.ai - ClearML__Queue=lambert_24gb - - ClearML__DockerImage=ghcr.io/sillsdev/machine.py:latest + - ClearML__DockerImage=${MACHINE_PY_IMAGE:-ghcr.io/sillsdev/machine.py:latest} - ClearML__Project=docker-compose - "ClearML__AccessKey=${ClearML_AccessKey:?access key needed}" - "ClearML__SecretKey=${ClearML_SecretKey:?secret key needed}" @@ -130,7 +130,7 @@ services: - ASPNETCORE_Kestrel__EndpointDefaults__Protocols=Http2 - ClearML__ApiServer=https://api.sil.hosted.allegro.ai - ClearML__Queue=lambert_24gb - - ClearML__DockerImage=ghcr.io/sillsdev/machine.py:latest + - ClearML__DockerImage=${MACHINE_PY_IMAGE:-ghcr.io/sillsdev/machine.py:latest} - ClearML__Project=docker-compose - "ClearML__AccessKey=${ClearML_AccessKey:?access key needed}" - "ClearML__SecretKey=${ClearML_SecretKey:?secret key needed}"