Skip to content

Commit

Permalink
chore: admin 모듈 컨테이너에 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekks committed Dec 3, 2024
1 parent 4ec455e commit ae72b63
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/aws-cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- develop
- feat/LA-20

env:
REGISTRY: "docker.io"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aws-cicd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
- chore/migration
- feat/LA-20_3

env:
REGISTRY: "docker.io"
Expand Down
18 changes: 18 additions & 0 deletions layer-api/infra/production/docker-compose-blue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,23 @@ services:
- layer-api-blue
restart: always

admin-app-blue:
image: docker.io/clean01/layer-server_layer-admin:latest #
container_name: layer-admin-blue
ports:
- "3000:3000"
environment:
- TZ=Asia/Seoul
- SPRING_PROFILES_ACTIVE=prod
volumes:
- ./application-secret.properties:/config/application-secret.properties
- ./log:/log
- ./tokens:/config/tokens
networks:
- app-network
depends_on:
- layer-api-blue
restart: always

networks:
app-network:
18 changes: 18 additions & 0 deletions layer-api/infra/production/docker-compose-green.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,23 @@ services:
- layer-api-green
restart: always

admin-app-green:
image: docker.io/clean01/layer-server_layer-admin:latest #
container_name: layer-admin-green
ports:
- "3000:3000"
environment:
- TZ=Asia/Seoul
- SPRING_PROFILES_ACTIVE=prod
volumes:
- ./application-secret.properties:/config/application-secret.properties
- ./log:/log
- ./tokens:/config/tokens
networks:
- app-network
depends_on:
- layer-api-green
restart: always

networks:
app-network:

0 comments on commit ae72b63

Please sign in to comment.