Skip to content

Commit

Permalink
update to use OPIK_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
liyaka committed Sep 15, 2024
1 parent 0aa36f6 commit c03fab3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion deployment/docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
4 changes: 2 additions & 2 deletions deployment/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c03fab3

Please sign in to comment.