Skip to content

Commit

Permalink
feat(devservices): Restrict container access to localhost (#80630)
Browse files Browse the repository at this point in the history
We should be exposing ports only to localhost as a security measure.
  • Loading branch information
hubertdeng123 authored Nov 12, 2024
1 parent c5ef6cb commit fdb57c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devservices/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- 5432:5432
- 127.0.0.1:5432:5432
extra_hosts:
- host.docker.internal:host-gateway

Expand Down

0 comments on commit fdb57c5

Please sign in to comment.