Skip to content

add docker image tag env var for images #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- db:/var/lib/postgresql/data
- ./init.sql:/docker-entrypoint-initdb.d/init_db.sql
ingestor:
image: metlo/backend
image: metlo/backend:${DOCKER_IMAGE_TAG:-latest}
command: yarn start-collector
container_name: metlo-ingestor
depends_on:
Expand All @@ -33,7 +33,7 @@ services:
volumes:
- cache:/data
backend:
image: metlo/backend
image: metlo/backend:${DOCKER_IMAGE_TAG:-latest}
container_name: metlo-backend
restart: unless-stopped
depends_on:
Expand All @@ -50,7 +50,7 @@ services:
- SESSION_SECRET=${EXPRESS_SECRET}
- SANDBOX_MODE=${SANDBOX_MODE}
jobs:
image: metlo/jobrunner
image: metlo/jobrunner:${DOCKER_IMAGE_TAG:-latest}
container_name: metlo-jobs
depends_on:
- ingestor
Expand All @@ -59,7 +59,7 @@ services:
- DB_URL=postgres://postgres:postgres@db:5432/metlo_api_security
- DISABLE_LOGGING_STATS=${DISABLE_LOGGING_STATS}
frontend:
image: metlo/frontend
image: metlo/frontend:${DOCKER_IMAGE_TAG:-latest}
container_name: metlo-frontend
restart: unless-stopped
environment:
Expand Down