chore: bind db to local ip

Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
This commit is contained in:
Ricardo Arturo Cabral Mejía 2023-02-10 14:55:10 -05:00
parent 41dcf5240c
commit 2b61c403f8
No known key found for this signature in database
GPG Key ID: 5931EBF43A650245

View File

@ -42,7 +42,7 @@ services:
volumes:
- ${PWD}/.nostr:/home/node/.nostr
ports:
- 8008:8008
- 127.0.0.1:8008:8008
depends_on:
nostream-cache:
condition: service_healthy
@ -65,7 +65,7 @@ services:
- ${PWD}/.nostr/db-logs:/var/log/postgresql
- ${PWD}/postgresql.conf:/postgresql.conf
ports:
- 15432:5432
- 127.0.0.1:15432:5432
networks:
default:
command: postgres -c 'config_file=/postgresql.conf'