Skip to content

Commit

Permalink
fix: postgres-dev to only listen on localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
dnephin committed Oct 6, 2022
1 parent cf396fe commit 4d61085
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ postgres:
docker run -d --name=postgres-dev --rm \
-e POSTGRES_PASSWORD=password123 \
--tmpfs=/var/lib/postgresql/data \
-p 15432:5432 \
postgres:14-alpine -c fsync=off -c full_page_writes=off
-p 127.0.0.1:15432:5432 \
postgres:14-alpine -c fsync=off -c full_page_writes=off \
-c listen_addresses=127.0.0.1 -c max_connections=100
@echo
@echo Copy the line below into the shell used to run tests
@echo 'export POSTGRESQL_CONNECTION="host=localhost port=15432 user=postgres dbname=postgres password=password123"'
Expand Down

0 comments on commit 4d61085

Please sign in to comment.