From a9fd52c3bf127571c56b854fd97041ab50c80f9a Mon Sep 17 00:00:00 2001 From: "jason.zhu" Date: Mon, 8 Feb 2021 15:43:34 +1100 Subject: [PATCH] Fixed conflict of docker images names in both prod and dev yamls --- docker-compose.debug.yaml | 14 +++++--------- docker-compose.yaml | 8 ++++---- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/docker-compose.debug.yaml b/docker-compose.debug.yaml index 2609a2b..55f3b7a 100644 --- a/docker-compose.debug.yaml +++ b/docker-compose.debug.yaml @@ -2,7 +2,7 @@ version: "3" services: csharp: container_name: csharp # image name - image: cruxlight/csharp_sdk:1.0.0 + image: cruxlight/csharp_dev:1.0.0 build: context: ./c# target: dev @@ -16,7 +16,7 @@ services: - 5500:5000 golang: container_name: golang - image: cruxlight/golang_sdk:1.0.0 + image: cruxlight/golang_dev:1.0.0 build: context: ./golang target: dev @@ -30,7 +30,7 @@ services: - 5501:5000 nodejs: container_name: nodejs - image: cruxlight/nodejs:1.0.0 + image: cruxlight/nodejs_dev:1.0.0 build: context: ./nodejs target: dev @@ -44,7 +44,7 @@ services: - 5502:5000 python: #docker run -it -v ${PWD}:/work -w /work -p 5003:5000 aimvector/python:1.0.0 /bin/sh container_name: python - image: cruxlight/python:1.0.0 + image: cruxlight/python_dev:1.0.0 build: context: ./python target: dev @@ -55,8 +55,4 @@ services: volumes: - ./python/src/:/work ports: - - 5503:5000 - first-public-dockerhub-image: - container_name: first-public-dockerhub-image - image: cruxlight/first-public-dockerhub-image:latest - build: ./first-public-dockerhub-image \ No newline at end of file + - 5503:5000 \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index d1d4320..218b9d7 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,7 +2,7 @@ version: "3" services: csharp: container_name: csharp # image name - image: cruxlight/csharp_sdk:1.0.0 + image: cruxlight/csharp_prod:1.0.0 build: context: ./c# target: prod @@ -12,7 +12,7 @@ services: - 5500:5000 golang: container_name: golang - image: cruxlight/golang_sdk:1.0.0 + image: cruxlight/golang_prod:1.0.0 build: context: ./golang target: prod @@ -22,7 +22,7 @@ services: - 5501:5000 nodejs: container_name: nodejs - image: cruxlight/nodejs:1.0.0 + image: cruxlight/nodejs_prod:1.0.0 build: context: ./nodejs target: prod @@ -32,7 +32,7 @@ services: - 5502:5000 python: #docker run -it -v ${PWD}:/work -w /work -p 5003:5000 aimvector/python:1.0.0 /bin/sh container_name: python - image: cruxlight/python:1.0.0 + image: cruxlight/python_prod:1.0.0 build: context: ./python target: prod