Skip to content

Commit

Permalink
test: 환경변수 주입 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondanythings committed Jul 5, 2024
1 parent 2214c04 commit e24dcd3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-cd-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- develop
- main
- fix/LS-7

env:
REGISTRY: "ghcr.io"
Expand Down
7 changes: 4 additions & 3 deletions layer-api/infra/development/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ services:
container_name: layer-api
depends_on:
- redis
environment:
- SPRING_REDIS_HOST=redis
- SPRING_REDIS_PORT=6379
ports:
- "8080:8080"
volumes:
- type: bind
source: ./config/application.yaml
target: ./application.yaml
networks:
- app-network

Expand Down
7 changes: 4 additions & 3 deletions layer-api/infra/production/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ services:
container_name: layer-api
depends_on:
- redis
environment:
- SPRING_REDIS_HOST=redis
- SPRING_REDIS_PORT=6379
ports:
- "8080:8080"
volumes:
- type: bind
source: ./config/application.yaml
target: ./application.yaml
networks:
- app-network

Expand Down

0 comments on commit e24dcd3

Please sign in to comment.