Skip to content

Commit

Permalink
only bind the dev web service to localhost
Browse files Browse the repository at this point in the history
The web service is updated to bind port 3000 to the loopback interface
(e.g. localhost) only, not all interfaces. No need to share your
development backend API to the whole coffee shop.

Signed-off-by: Robb Kidd <[email protected]>
  • Loading branch information
robbkidd committed Sep 14, 2018
1 parent 5c693d3 commit 8223ef3
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 @@ -8,7 +8,7 @@ services:
volumes_from:
- bundle
ports:
- "3000:3000"
- "127.0.0.1:3000:3000"
depends_on:
- operationcode-psql
- redis
Expand Down

0 comments on commit 8223ef3

Please sign in to comment.