pg.ddx.io pgvector/pgvector GitHub issues and pull requests
help / color / mirror / Atom feed[pgvector/pgvector] issue #827: FATAL: no pg_hba.conf entry for host "172.18.0.8" - Docker
3+ messages / 1 participants
[nested] [flat]
* [pgvector/pgvector] issue #827: FATAL: no pg_hba.conf entry for host "172.18.0.8" - Docker
@ 2025-04-22 16:44 "fahadshery (@fahadshery)" <noreply+fahadshery@github.com>
0 siblings, 0 replies; 3+ messages in thread
From: fahadshery (@fahadshery) @ 2025-04-22 16:44 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Hi,
Here is my docker compose:
```
postgres:
image: pgvector/pgvector:pg17
hostname: postgres
networks:
- proxy
restart: unless-stopped
ports:
- 5432:5432
environment:
- POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-password}
- POSTGRES_DB=${POSTGRES_DB:-postgres}
volumes:
- /home/user/ai-stack/postgresql/data:/var/lib/postgresql/data
- /home/user/ai-stack/postgresql/init-scripts:/docker-entrypoint-initdb.d # extensions setup
- ./postgresql/postgresql.conf:/etc/postgresql/postgresql.conf
command: postgres -c config_file=/etc/postgresql/postgresql.conf
shm_size: 1g
healthcheck:
test: ['CMD-SHELL', 'pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}']
interval: 5s
timeout: 5s
retries: 10
```
I am on the `proxy` network as well
I am getting the error pg_hba.conf. But it works fine if I change the image to official Postgres.
^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #827: FATAL: no pg_hba.conf entry for host "172.18.0.8" - Docker
@ 2025-04-23 12:30 ` "fahadshery (@fahadshery)" <noreply+fahadshery@github.com>
1 sibling, 0 replies; 3+ messages in thread
From: fahadshery (@fahadshery) @ 2025-04-23 12:30 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
I created conf file, loaded into he container with the following line and it worked:
```
listen_addresses='*'
```
^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #827: FATAL: no pg_hba.conf entry for host "172.18.0.8" - Docker
@ 2025-04-23 12:30 ` "fahadshery (@fahadshery)" <noreply+fahadshery@github.com>
1 sibling, 0 replies; 3+ messages in thread
From: fahadshery (@fahadshery) @ 2025-04-23 12:30 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
@fahadshery closed this.
^ permalink raw [nested|flat] 3+ messages in thread
end of thread, other threads:[~2025-04-23 12:30 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-04-22 16:44 [pgvector/pgvector] issue #827: FATAL: no pg_hba.conf entry for host "172.18.0.8" - Docker "fahadshery (@fahadshery)" <noreply+fahadshery@github.com>
2025-04-23 12:30 ` "fahadshery (@fahadshery)" <noreply+fahadshery@github.com>
2025-04-23 12:30 ` "fahadshery (@fahadshery)" <noreply+fahadshery@github.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox