Skip to content

Commit

Permalink
fix: force mongodb connection to direct on localdev (#7022)
Browse files Browse the repository at this point in the history
  • Loading branch information
KenLSM authored Jan 15, 2024
1 parent f90c5ec commit 17124f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- '9229:9229' # Node debugger port
environment:
- NODE_ENV=development
- DB_HOST=mongodb://database:27017/formsg
- DB_HOST=mongodb://database:27017/formsg?directConnection=true
- APP_NAME=FormSG
- APP_URL=http://localhost:5001
- FE_APP_URL=http://localhost:3000
Expand Down

0 comments on commit 17124f2

Please sign in to comment.