Skip to content

Binds postgres to localhost#106

Merged
a-musing-moose merged 1 commit intomainfrom
feature/local-services
Apr 9, 2026
Merged

Binds postgres to localhost#106
a-musing-moose merged 1 commit intomainfrom
feature/local-services

Conversation

@a-musing-moose
Copy link
Copy Markdown
Contributor

@a-musing-moose a-musing-moose commented Apr 8, 2026

Ensures that the port mapping for Postgres in the docker compose file is bound 127.0.0.1:5432 so it is not available over the local network.

Access from another machine should not be needed for a local development environment and presents an additional security risk. These backing services are not as rigorously locked down as they would be in a production environment.

I also removed the version in the docker-compose file as is no longer needed by newer versions of docker compose, and generating a warning each time it is used.

Ensures that the port mapping for Postgres in the docker compose file is
bound 127.0.0.1:5432 so it is not available over the local network.

It should not be needed and presents an additional security risk as
these backing services are not as rigorously locked down as they would
be in a production environment.

I also removed the version in the file as it is no longer needed by
newer versions of docker compose and generates a warning whenever used.
@a-musing-moose a-musing-moose force-pushed the feature/local-services branch from 9c6f12a to 16b3e03 Compare April 8, 2026 03:11
@a-musing-moose a-musing-moose requested a review from G-Rath April 8, 2026 03:12
Copy link
Copy Markdown
Contributor

@zahraaalizadeh zahraaalizadeh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@a-musing-moose a-musing-moose merged commit 3f70d20 into main Apr 9, 2026
4 checks passed
@a-musing-moose a-musing-moose deleted the feature/local-services branch April 9, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants