Skip to content

Commit

Permalink
chore: allow debugging server from container
Browse files Browse the repository at this point in the history
  • Loading branch information
weaponsforge committed Oct 3, 2024
1 parent 2bf3a90 commit dad0050
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ This project deploys the **development** environment to:
- Firebase Hosting (front end)
- Vercel (backend server)
This project deploys the development environment to:
This project deploys the **production** environment to:
- GitHub Pages (front end)
- Vercel (backend server)
The following requirements are optional. They are only required if there is a need to deploy the web application for live demonstration purposes.
The following requirements are optional. They are only required if there is a need to deploy the web application for live demonstration purposes. Be sure to check-out and setup the _**required**_ client and server environment variables before proceeding.
### Requirements
Expand Down
1 change: 1 addition & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ services:
- /opt/server/node_modules
ports:
- "3001:3001"
- "9229:9229"

networks:
my-phonebook-dev:
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"start": "node src/index",
"dev": "nodemon src/index.js",
"dev": "nodemon --inspect=0.0.0.0:9229 src/index.js",
"docs": "apidoc -i src/controllers/ -o public/docs/",
"docs:vercel": "apidoc -i src/controllers/ -o public/",
"lint": "eslint src --ignore-path .gitignore",
Expand Down

0 comments on commit dad0050

Please sign in to comment.