Skip to content

Commit

Permalink
Merge pull request #113 from boostcampwm-2024/Feature/#097_Github_Sec…
Browse files Browse the repository at this point in the history
…rets_환경_변수_설정

Feature/#97 MongoDB 테스트 환경 구축
  • Loading branch information
github-actions[bot] authored Nov 14, 2024
2 parents b686162 + 91c7d5b commit 8d17632
Show file tree
Hide file tree
Showing 11 changed files with 3,432 additions and 6,328 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Build and Deploy Docker Images
env:
NODE_ENV: production
MONGODB_URI: ${{ secrets.MONGODB_URI }}
MONGO_URI: ${{ secrets.MONGO_URI }}
run: |
docker-compose up -d --build
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Lint and Test
on:
push:
branches:
- main
- dev
- "**"
pull_request:
branches:
- main
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
*/dist
/build
.DS_Store
.env
.env

# Jest globalConfig file
../globalConfig.json
4 changes: 2 additions & 2 deletions docker-compose.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
- "3000:3000" # NestJS 개발 서버 포트
- "9229:9229" # Node.js 디버깅 포트
environment:
- MONGODB_URI=mongodb://localhost:27017/boost
- MONGO_URI=mongodb://localhost:27017/boost
- NODE_ENV=development

nginx:
Expand All @@ -36,4 +36,4 @@ services:

networks:
app-network:
driver: bridge
driver: bridge
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
ports:
- "3000:3000"
environment:
- MONGODB_URI=${MONGODB_URI}
- MONGO_URI=${MONGO_URI}
- NODE_ENV=${NODE_ENV}

nginx:
Expand All @@ -33,4 +33,4 @@ services:

networks:
app-network:
driver: bridge
driver: bridge
Loading

0 comments on commit 8d17632

Please sign in to comment.