Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/#097 MongoDB 테스트 환경 구축 #113

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading