Skip to content

Commit

Permalink
test: 테스트 환경에서 mongodb uri 임시 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
minjungw00 committed Nov 13, 2024
1 parent b686162 commit 7c38cbd
Show file tree
Hide file tree
Showing 10 changed files with 3,431 additions and 6,326 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
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 7c38cbd

Please sign in to comment.