Skip to content

Commit c688f50

Browse files
authored
Merge pull request #310 from dockersamples/adjust-inspect
Don't break on user script at start and bind debug only locally
2 parents 85b4013 + 7e0e20a commit c688f50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ services:
2727
result:
2828
build: ./result
2929
# use nodemon rather than node for local dev
30-
entrypoint: nodemon --inspect-brk=0.0.0.0 server.js
30+
entrypoint: nodemon --inspect=0.0.0.0 server.js
3131
depends_on:
3232
db:
3333
condition: service_healthy
3434
volumes:
3535
- ./result:/app
3636
ports:
3737
- "5001:80"
38-
- "9229:9229"
38+
- "127.0.0.1:9229:9229"
3939
networks:
4040
- front-tier
4141
- back-tier

0 commit comments

Comments
 (0)