Skip to content

Commit

Permalink
multiple version
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Arcuri committed Feb 22, 2024
1 parent 87a8251 commit a3e51d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION=latest
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
build:
context: .
dockerfile: ./compose/local/nginx/Dockerfile
image: ghcr.io/ldo-cert/orochi_nginx:latest
image: ghcr.io/ldo-cert/orochi_nginx:${VERSION:-latest}
container_name: orochi_nginx
depends_on:
- django_asgi
Expand All @@ -36,7 +36,7 @@ services:
- http_proxy
- https_proxy
- local_upload_path
image: ghcr.io/ldo-cert/orochi_django:latest
image: ghcr.io/ldo-cert/orochi_django:${VERSION:-latest}
container_name: orochi_django_wsgi
hostname: django
restart: always
Expand Down Expand Up @@ -67,7 +67,7 @@ services:
- http_proxy
- https_proxy
- local_upload_path
image: ghcr.io/ldo-cert/orochi_django:latest
image: ghcr.io/ldo-cert/orochi_django:${VERSION:-latest}
container_name: orochi_django_asgi
hostname: django
restart: always
Expand Down Expand Up @@ -156,7 +156,7 @@ services:
MONITORING_ENABLED: "false"

scheduler:
image: ghcr.io/ldo-cert/orochi_worker:latest
image: ghcr.io/ldo-cert/orochi_worker:${VERSION:-latest}
build:
context: .
dockerfile: ./compose/local/dask/Dockerfile
Expand Down Expand Up @@ -188,7 +188,7 @@ services:
- cache_path:/root/.cache/volatility3

worker:
image: ghcr.io/ldo-cert/orochi_worker:latest
image: ghcr.io/ldo-cert/orochi_worker:${VERSION:-latest}
deploy:
replicas: 2
build:
Expand Down

0 comments on commit a3e51d4

Please sign in to comment.