From 7568e16c315a82399851ddbd9c6f433639b1f995 Mon Sep 17 00:00:00 2001 From: fatemeh imanipour Date: Sat, 6 Apr 2024 12:30:52 +0330 Subject: [PATCH] set default value for TAG param --- docker-compose-otc.build.yml | 8 ++++---- docker-compose-otc.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docker-compose-otc.build.yml b/docker-compose-otc.build.yml index 446128238..16f2d6571 100644 --- a/docker-compose-otc.build.yml +++ b/docker-compose-otc.build.yml @@ -2,14 +2,14 @@ version: '3.8' services: postgres-opex: - image: ghcr.io/opexdev/postgres-opex:${TAG:otc-pr} + image: ghcr.io/opexdev/postgres-opex:${TAG:-otc-pr} build: docker-images/postgres wallet: - image: ghcr.io/opexdev/wallet:${TAG:otc-pr} + image: ghcr.io/opexdev/wallet:${TAG:-otc-pr} build: wallet/wallet-app vault: - image: ghcr.io/opexdev/vault-opex:${TAG:otc-pr} + image: ghcr.io/opexdev/vault-opex:${TAG:-otc-pr} build: docker-images/vault bc-gateway: - image: ghcr.io/opexdev/bc-gateway:${TAG:otc-pr} + image: ghcr.io/opexdev/bc-gateway:${TAG:-otc-pr} build: bc-gateway/bc-gateway-app \ No newline at end of file diff --git a/docker-compose-otc.yml b/docker-compose-otc.yml index 8ed235dcf..40e687a56 100644 --- a/docker-compose-otc.yml +++ b/docker-compose-otc.yml @@ -1,5 +1,5 @@ x-postgres-db: &postgres-db - image: ghcr.io/opexdev/postgres-opex:${TAG:otc-pr} + image: ghcr.io/opexdev/postgres-opex:${TAG:-otc-pr} environment: - POSTGRES_USER=${DB_USER:-opex} - POSTGRES_PASSWORD=${DB_PASS:-hiopex} @@ -20,7 +20,7 @@ services: - wallet-data:/var/lib/postgresql/data/ wallet: - image: ghcr.io/opexdev/wallet:${TAG:otc-pr} + image: ghcr.io/opexdev/wallet:${TAG:-otc-pr} environment: - JAVA_OPTS=-Xmx256m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 - KAFKA_IP_PORT=kafka-1:29092,kafka-2:29092,kafka-3:29092 @@ -52,7 +52,7 @@ services: restart_policy: condition: on-failure vault: - image: ghcr.io/opexdev/vault-opex:${TAG:otc-pr} + image: ghcr.io/opexdev/vault-opex:${TAG:-otc-pr} volumes: - vault-data:/vault/file environment: @@ -78,7 +78,7 @@ services: networks: - otc-network bc-gateway: - image: ghcr.io/opexdev/bc-gateway:${TAG:otc-pr} + image: ghcr.io/opexdev/bc-gateway:${TAG:-otc-pr} environment: - JAVA_OPTS=-Xmx256m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 - CONSUL_HOST=consul