Skip to content

Commit

Permalink
ci: docker-compose.yml 파일 환경변수 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingyum-Kim committed Aug 5, 2023
1 parent a265c74 commit 9e6121a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 2 additions & 0 deletions docker/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DOCKER_REGISTRY=dnd9th
DOCKER_APP_NAME=milestone
11 changes: 5 additions & 6 deletions docker/docker-compose.blue.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
version: '3'
services:
blue: # service_name
build: ./ # Dockerfile path
image: ${DOCKER_REGISTRY}/${DOCKER_APP_NAME}:${IMAGE_TAG}
container_name: ${DOCKER_APP_NAME}-blue #
blue:
build: .
image: ${DOCKER_REGISTRY}/${DOCKER_APP_NAME}
container_name: blue
environment:
- LANG=ko_KR.UTF-8
-
ports:
- '8081:80'
- '8081:8080'
8 changes: 4 additions & 4 deletions docker/docker-compose.green.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: '3'
services:
green:
build: ./
image:
container_name: ${DOCKER_APP_NAME}-green
build: .
image: ${DOCKER_REGISTRY}/${DOCKER_APP_NAME}
container_name: green
environment:
- LANG=ko_KR.UTF-8
ports:
- '8082:80'
- '8082:8080'

0 comments on commit 9e6121a

Please sign in to comment.