From cf31525889846184f898ac9e4b97db4559d982a4 Mon Sep 17 00:00:00 2001 From: liyaka Date: Sun, 15 Sep 2024 22:42:13 +0300 Subject: [PATCH] update to use OPIK_VERSION --- deployment/docker-compose/README.md | 4 +++- deployment/docker-compose/docker-compose.yaml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/deployment/docker-compose/README.md b/deployment/docker-compose/README.md index 66ccfd85b4..29daa98ec7 100644 --- a/deployment/docker-compose/README.md +++ b/deployment/docker-compose/README.md @@ -5,12 +5,14 @@ - Docker - https://docs.docker.com/engine/install/ - Docker Compose - https://docs.docker.com/compose/install/ -## Run docker-compose using the latest images +## Run docker-compose using the images From the root of the project +Set opik version or it will use the latest images ```bash cd deployment/docker-compose +OPIK_VERSION=0.1.10 docker compose up -d ``` diff --git a/deployment/docker-compose/docker-compose.yaml b/deployment/docker-compose/docker-compose.yaml index 968ad4e877..4330877c58 100644 --- a/deployment/docker-compose/docker-compose.yaml +++ b/deployment/docker-compose/docker-compose.yaml @@ -57,7 +57,7 @@ services: retries: 300 backend: - image: ghcr.io/comet-ml/opik/opik-backend:latest + image: ghcr.io/comet-ml/opik/opik-backend:${OPIK_VERSION:-latest} platform: linux/amd64 hostname: backend command: ["bash", "-c", "./run_db_migrations.sh && ./entrypoint.sh"] @@ -88,7 +88,7 @@ services: condition: service_healthy frontend: - image: ghcr.io/comet-ml/opik/opik-frontend:latest + image: ghcr.io/comet-ml/opik/opik-frontend:${OPIK_VERSION:-latest} platform: linux/amd64 hostname: frontend ports: